]> granicus.if.org Git - python/commit
fixing 408085 - redirect from https becomes http
authorMoshe Zadka <moshez@math.huji.ac.il>
Mon, 9 Apr 2001 14:54:21 +0000 (14:54 +0000)
committerMoshe Zadka <moshez@math.huji.ac.il>
Mon, 9 Apr 2001 14:54:21 +0000 (14:54 +0000)
commit5d87d4729596b0c385e3fa50581ee100396cae2d
tree54ff0ae077ad2dcce7c815334001effd961dc070
parentf870c952f96c72cc23fa75a1ce48418c71fbf76e
fixing 408085 - redirect from https becomes http
Even though relative redirects are illegal, they are common
urllib treated every relative redirect as though it was to http,
even if the original was https://
As long as we're compensating for server bugs, might as well do
it properly.
Lib/urllib.py