diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2009-03-31 16:37:16 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2009-03-31 16:37:16 (GMT) |
commit | 2bdb576e7072a7e6f066d6423201ee3fa7db0b30 (patch) | |
tree | c442a24ea6b0b66419c5fa4c47504c6778bcce53 /Lib/urllib | |
parent | 21151760d9651767227c0676cb51915e53610f9e (diff) | |
download | cpython-2bdb576e7072a7e6f066d6423201ee3fa7db0b30.zip cpython-2bdb576e7072a7e6f066d6423201ee3fa7db0b30.tar.gz cpython-2bdb576e7072a7e6f066d6423201ee3fa7db0b30.tar.bz2 |
Make urllib use HTTP/1.1. It seems to work now, but hasn't been
carefully tested.
Diffstat (limited to 'Lib/urllib')
-rw-r--r-- | Lib/urllib/request.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py index 3776536..3e5b05c 100644 --- a/Lib/urllib/request.py +++ b/Lib/urllib/request.py @@ -1562,10 +1562,6 @@ class URLopener: else: auth = None http_conn = connection_factory(host) -## # XXX We should fix urllib so that it works with HTTP/1.1. -## http_conn._http_vsn = 10 -## http_conn._http_vsn_str = "HTTP/1.0" - headers = {} if proxy_auth: headers["Proxy-Authorization"] = "Basic %s" % proxy_auth |