Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gh-66897: Upgrade HTTP CONNECT to protocol HTTP/1.1 #8305

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Apr 5, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
1nm to the left
  • Loading branch information
handlerbot authored Oct 26, 2022
commit 70ba474b00360a5630b5c1f6a912ab4f3f169f6f
3 changes: 1 addition & 2 deletions 3 Lib/test/test_httplib.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import copy
import enum
import errno
from http import client, HTTPStatus
Expand Down Expand Up @@ -2230,7 +2229,7 @@ def test_set_tunnel_host_port_headers_add_host_missing(self):
tunnel_host = 'destination.com'
tunnel_port = 8888
tunnel_headers = {'User-Agent': 'Mozilla/5.0 (compatible, MSIE 11)'}
tunnel_headers_after = copy.copy(tunnel_headers)
tunnel_headers_after = tunnel_headers.copy()
tunnel_headers_after['Host'] = '%s:%d' % (tunnel_host, tunnel_port)
self.conn.set_tunnel(tunnel_host, port=tunnel_port,
headers=tunnel_headers)
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.