homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ajaksu2
Recipients ResulCetin, ajaksu2, amaury.forgeotdarc, dato, exarkun, jhylton, pitrou
Date 2008年12月14日.12:17:17
SpamBayes Score 0.009115517
Marked as misclassified No
Message-id <1229257038.45.0.364057050521.issue4631@psf.upfronthosting.co.za>
In-reply-to
Content
Clarifying the diagnosis, the offending spurious bytes are only present
when we use 3.0's GET above.
That's because urllib.request.HTTPHandler asks for a vanilla
http.client.HTTPConnection, which uses HTTP 1.1.
IIUC, either we change the request version back to 1.0 (attached patch)
or correct the way the response is processed (is it at all?).
I think HTTPSHandler will also suffer from this, perhaps
[Fancy]URLopener too.
[Antoine: cool, an edit conflict that agrees with what I was about to
post :D]
History
Date User Action Args
2008年12月14日 12:17:18ajaksu2setrecipients: + ajaksu2, jhylton, exarkun, amaury.forgeotdarc, pitrou, dato, ResulCetin
2008年12月14日 12:17:18ajaksu2setmessageid: <1229257038.45.0.364057050521.issue4631@psf.upfronthosting.co.za>
2008年12月14日 12:17:17ajaksu2linkissue4631 messages
2008年12月14日 12:17:17ajaksu2create

AltStyle によって変換されたページ (->オリジナル) /