Message10587
Logged In: YES
user_id=261020
Sorry for all these tiny updates.
Summary of what remains to be done:
1. Apply Guido's patch for urllib.py: guido.txt. The docs are already
correct.
2. 301 in response to POST is still not redirected in urllib2.
urllib2.py.patch3 fixes that (note patch3, not patch2). It also
removes my Request.get_method method (which now seems like
overkill, as well as breaking the URL scheme-independence of
Request). Also fixes an exception message.
3. liburllib2.tex.patch2 updates the docs to reflect the changes
in urllib2.py.patch3, rephrases a note and adds a missing method
description.
4. liburllib.tex.patch2: trivial rewording of docs for clarity.
5. Backport above changes to 2.2 bugfix branch.
Jeremy in CVS:
> The latest changes to the redirect handler couldn't possibly have been
> tested, because they did not compute a newurl and failed with a
> NameError. The __name__ == "__main__": block has a test for
> redirects.
Ah. The tests are preceeded by a warning about only working from a
particular set of hosts: I mis-remembered, thinking that applied to
*all* the tests. Sorry.
|
|
Date |
User |
Action |
Args |
2007-08-23 14:01:00 | admin | link | issue549151 messages |
2007-08-23 14:01:00 | admin | create | |
|