Message21179
Logged In: YES
user_id=261020
Before bug 912845 (CVS rev 1.69) added 206 to the list of
response codes considered "successful" by urllib2, I'd
assumed this would never be altered, for
backwards-compatibility reasons.
Note that this behaviour can be configured by module users,
since HTTPError exceptions support the urllib2 response
interface. This can be done by replacing
HTTPErrorProcessor, or by replacing HTTPDefaultErrorHandler,
or catching the exception "manually".
But maybe since the 206 issue was considered a valid bug
fix, this is OK too.
If so, it would be best if the other 20x responses were also
considered at the same time.
|
|
Date |
User |
Action |
Args |
2007-08-23 14:22:33 | admin | link | issue971965 messages |
2007-08-23 14:22:33 | admin | create | |
|