Message190480
When urllib.FancyURLopener encounters 302 redirection to a URL with fragments, it sends wrong URL to servers.
For example, if we run:
urllib.urlopen('http://example.com/foo')
and the server responds like following.
HTTP/1.1 302 Found
Location: /bar#test
Then urllib tries next to fetch http://example.com/bar#test, instead of http://example.com/bar.
Correctly, urllib should strip fragment part of URL before issuing requests. |
|
Date |
User |
Action |
Args |
2013-06-02 10:22:10 | takahashi.shuhei | set | recipients:
+ takahashi.shuhei |
2013-06-02 10:22:10 | takahashi.shuhei | set | messageid: <1370168530.11.0.609209040554.issue18119@psf.upfronthosting.co.za> |
2013-06-02 10:22:10 | takahashi.shuhei | link | issue18119 messages |
2013-06-02 10:22:09 | takahashi.shuhei | create | |
|