Overview
Comment: | added timeout simplified gzip handling stops rechecking partial files |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
a81f1a70fb64bcd5dd8eedd935e31857 |
User & Date: | c.kworr@b84a3442-36b4-a7b2-c7ad-07429f13c525 on 2012-01-16 13:33:52.000 |
Other Links: | branch diff | manifest | tags |
Context
2012-01-16
| ||
13:39 | oops, not checking file breaks thins check-in: d1fa9d0737 user: c.kworr@b84a3442-36b4-a7b2-c7ad-07429f13c525 tags: master, trunk | |
13:33 | added timeout simplified gzip handling stops rechecking partial files check-in: a81f1a70fb user: c.kworr@b84a3442-36b4-a7b2-c7ad-07429f13c525 tags: master, trunk | |
10:29 | wrong dictionary initialised check-in: 31a8af9ff1 user: c.kworr@b84a3442-36b4-a7b2-c7ad-07429f13c525 tags: master, trunk | |
Changes
Modified samesite.py
from [0d2e47db05]
to [7bc5451d9d].
︙ | |||
182 183 184 185 186 187 188 | 182 183 184 185 186 187 188 189 190 191 192 193 194 195 | - | record = index[my_path] if os.access(file_name, os.R_OK): info += '\nFull file found.' file_stat = os.stat(file_name) elif '_parts' in index[my_path] and os.access(temp_name, os.R_OK): info += '\nPartial file found.' file_stat = os.stat(temp_name) |
︙ | |||
245 246 247 248 249 250 251 | 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 | - + - + - - + | break ranges += '{}-{}'.format(range[0], range[1] - 1), my_headers['range'] = 'bytes=' + ','.join(ranges) my_headers['Accept-Encoding'] = 'gzip' request = urllib2.Request(request, headers = my_headers) |
︙ |