diff options
author | Michael Handler <mh@grendel.net> | 2023-04-05 04:55:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-05 04:55:24 (GMT) |
commit | 1a8f862e329c3872a11d4ef8eb85cf353ca2f4d5 (patch) | |
tree | ad3f1ab9e0a427dd2fa61f976e169d06eea9a053 /Mac | |
parent | a62ff970750267441a7175b1bd6d6b2ec59d9a2c (diff) | |
download | cpython-1a8f862e329c3872a11d4ef8eb85cf353ca2f4d5.zip cpython-1a8f862e329c3872a11d4ef8eb85cf353ca2f4d5.tar.gz cpython-1a8f862e329c3872a11d4ef8eb85cf353ca2f4d5.tar.bz2 |
gh-66897: Upgrade HTTP CONNECT to protocol HTTP/1.1 (#8305)
* bpo-22708: Upgrade HTTP CONNECT to protocol HTTP/1.1 (GH-NNNN)
Use protocol HTTP/1.1 when sending HTTP CONNECT tunnelling requests;
generate Host: headers if one is not already provided (required by
HTTP/1.1), convert IDN domains to punycode in HTTP CONNECT requests.
* Refactor tests to pass under -bb (fix ByteWarnings); missed some lines >80.
* Use consistent 'tunnelling' spelling in Lib/http/client.py
* Lib/test/test_httplib: Remove remnant of obsoleted test.
* Use dict.copy() not copy.copy()
* fix version changed
* Update Lib/http/client.py
Co-authored-by: bgehman <bgehman@users.noreply.github.com>
* Switch to for/else: syntax, as suggested
* Don't use for: else:
* Sure, fine, w/e
* Oops
* 1nm to the left
---------
Co-authored-by: Éric <merwok@netwok.org>
Co-authored-by: bgehman <bgehman@users.noreply.github.com>
Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
Diffstat (limited to 'Mac')
0 files changed, 0 insertions, 0 deletions