]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[Bug #912845] urllib2 only checks for a 200 return code, but 206 is also legal if...
authorAndrew M. Kuchling <amk@amk.ca>
Tue, 29 Jun 2004 13:19:19 +0000 (13:19 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Tue, 29 Jun 2004 13:19:19 +0000 (13:19 +0000)
commit08c08bb3d1758d6d3bd884ed7c0d6ef8f8524897
tree0a61976f8c26cea6270e39567e0286500afbb316
parent31352c5a304cef1d972aba6e6ec61e89dcadde21
[Bug #912845] urllib2 only checks for a 200 return code, but 206 is also legal if a Range: header was supplied.
(Actually, should the first 'if' statement be modified to allow any 2xx status code?)
Lib/urllib2.py