Samesite - proxy that can cache partial transfers

Check-in [5d16a125ab]
anonymous

Check-in [5d16a125ab]

Overview
Comment:big range list fix, dirty, should be rewritten
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256: 5d16a125ab213190ec61543d84f96c60658bf97942a57a686a8685116973d5d4
User & Date: c.kworr@b84a3442-36b4-a7b2-c7ad-07429f13c525 on 2012-01-03 13:33:32.000
Other Links: branch diff | manifest | tags
Context
2012-01-04
07:45
unwind last update and bring a better fix check-in: b5c328f916 user: c.kworr@b84a3442-36b4-a7b2-c7ad-07429f13c525 tags: master, trunk
2012-01-03
13:33
big range list fix, dirty, should be rewritten check-in: 5d16a125ab user: c.kworr@b84a3442-36b4-a7b2-c7ad-07429f13c525 tags: master, trunk
2011-12-19
09:54
python 2.7 support, requires bsddb, not fully tested check-in: 601ec56da6 user: c.kworr@b84a3442-36b4-a7b2-c7ad-07429f13c525 tags: master, trunk
Changes
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
				if needed != None and len(needed) > 0:
					needed.rewind()
					while True:
						range = needed.pop()
						if range[0] == None:
							break
						ranges += '{}-{}'.format(range[0], range[1] - 1),
					my_headers['range'] = 'bytes=' + ','.join(ranges)

				request = urllib2.Request(request, headers = my_headers)

				source = urllib2.urlopen(request)
				new_record = {}
				new_record['_parts'] = record['_parts']
				headers = source.info()







|







239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
				if needed != None and len(needed) > 0:
					needed.rewind()
					while True:
						range = needed.pop()
						if range[0] == None:
							break
						ranges += '{}-{}'.format(range[0], range[1] - 1),
					my_headers['range'] = 'bytes=' + ','.join(ranges[0:10])

				request = urllib2.Request(request, headers = my_headers)

				source = urllib2.urlopen(request)
				new_record = {}
				new_record['_parts'] = record['_parts']
				headers = source.info()