René's URL Explorer Experiment


Title: gh-66897: Upgrade HTTP CONNECT to protocol HTTP/1.1 by handlerbot · Pull Request #8305 · python/cpython · GitHub

Open Graph Title: gh-66897: Upgrade HTTP CONNECT to protocol HTTP/1.1 by handlerbot · Pull Request #8305 · python/cpython

X Title: gh-66897: Upgrade HTTP CONNECT to protocol HTTP/1.1 by handlerbot · Pull Request #8305 · python/cpython

Description: 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. This builds upon and obsoletes #742. cc @berkerpeksag who reviewed that PR. (I have signed the CLA, but it was less than a day ago, so the human review may not yet be completed.) https://bugs.python.org/issue22708 Issue: gh-66897

Open Graph Description: 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 re...

X Description: 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 re...

Opengraph URL: https://github.com/python/cpython/pull/8305

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits/:range(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:1dbcdb1f-754b-5054-d332-435a2bec8e62
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD2B8:2178BE:461026C:603501F:6995E4A3
html-safe-nonce768322b16347b299ea5b41f954948c75c3669b959cbecca7905a03e9d6ec0cf7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMkI4OjIxNzhCRTo0NjEwMjZDOjYwMzUwMUY6Njk5NUU0QTMiLCJ2aXNpdG9yX2lkIjoiMzcyNDUwOTgyNzQxNjA1Njk5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac6b15b78d30a22af68291a07c4e40d5ce201d5011f0ed45d1a0b70a036e6e757a
hovercard-subject-tagpull_request:201768651
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/8305/commits/c3927ed9929afd67ec25794c68c076aed908d13b
twitter:imagehttps://avatars.githubusercontent.com/u/90347?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/90347?s=400&v=4
og:image:altUse 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 re...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None1161b1e91d57e776171599ebe7c3b8c4690792d1e87e83b5c77a9b1aeb391094
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release93aba693a9e4c366ba98cb395cffab9ea05e0b83
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/8305/commits/c3927ed9929afd67ec25794c68c076aed908d13b#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F8305%2Fcommits%2Fc3927ed9929afd67ec25794c68c076aed908d13b
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F8305%2Fcommits%2Fc3927ed9929afd67ec25794c68c076aed908d13b
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/8305/commits/c3927ed9929afd67ec25794c68c076aed908d13b
Reloadhttps://github.com/python/cpython/pull/8305/commits/c3927ed9929afd67ec25794c68c076aed908d13b
Reloadhttps://github.com/python/cpython/pull/8305/commits/c3927ed9929afd67ec25794c68c076aed908d13b
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/8305/commits/c3927ed9929afd67ec25794c68c076aed908d13b
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.6k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security 0 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
orsenthilhttps://github.com/orsenthil
python:mainhttps://github.com/python/cpython/tree/main
Conversation 36 https://github.com/python/cpython/pull/8305
Commits 17 https://github.com/python/cpython/pull/8305/commits
Checks 0 https://github.com/python/cpython/pull/8305/checks
Files changed https://github.com/python/cpython/pull/8305/files
Please reload this pagehttps://github.com/python/cpython/pull/8305/commits/c3927ed9929afd67ec25794c68c076aed908d13b
gh-66897: Upgrade HTTP CONNECT to protocol HTTP/1.1 https://github.com/python/cpython/pull/8305/commits/c3927ed9929afd67ec25794c68c076aed908d13b#top
Show all changes 17 commits https://github.com/python/cpython/pull/8305/files
9f5ce09 bpo-22708: Upgrade HTTP CONNECT to protocol HTTP/1.1 (GH-NNNN) handlerbot Jul 16, 2018 https://github.com/python/cpython/pull/8305/commits/9f5ce0930ba7488c954b0d9cf018ddc4a37d3109
c3927ed Refactor tests to pass under -bb (fix ByteWarnings); missed some line… handlerbot Jul 16, 2018 https://github.com/python/cpython/pull/8305/commits/c3927ed9929afd67ec25794c68c076aed908d13b
2fe3ade Use consistent 'tunnelling' spelling in Lib/http/client.py handlerbot Jul 20, 2018 https://github.com/python/cpython/pull/8305/commits/2fe3ade45a12570d0ac5d5a8d3fb9064e7a3dfd4
b2f76d7 Lib/test/test_httplib: Remove remnant of obsoleted test. handlerbot Jul 20, 2018 https://github.com/python/cpython/pull/8305/commits/b2f76d729e14048a10269e53bfa2205f014354b2
9990baa Use dict.copy() not copy.copy() handlerbot Jul 24, 2018 https://github.com/python/cpython/pull/8305/commits/9990baa82c6f541a2c5f31216d5ea4db3ea47d30
367b407 fix version changed merwok Oct 7, 2022 https://github.com/python/cpython/pull/8305/commits/367b40758cd139ee68ff9ef4dbfdf6926dca3c0a
f370042 Merge branch 'main' into fix-bpo-22708 handlerbot Oct 8, 2022 https://github.com/python/cpython/pull/8305/commits/f370042ac08868215c8f9c6eaeb52a5d092c2c44
8b55642 Update Lib/http/client.py handlerbot Oct 8, 2022 https://github.com/python/cpython/pull/8305/commits/8b556427c14a48942690fa0f9acf078ad936c414
aa1508e Switch to for/else: syntax, as suggested handlerbot Oct 10, 2022 https://github.com/python/cpython/pull/8305/commits/aa1508ee7c91686fffa587c9c3846d3cdef69fc9
ef8b896 Don't use for: else: handlerbot Oct 25, 2022 https://github.com/python/cpython/pull/8305/commits/ef8b896ff5bf9502da41726afc427832e8b84711
5d2f166 Merge branch 'main' into fix-bpo-22708 handlerbot Oct 25, 2022 https://github.com/python/cpython/pull/8305/commits/5d2f166d1c283c22bd63f4601a63240b56d633d3
87e514c Sure, fine, w/e handlerbot Oct 26, 2022 https://github.com/python/cpython/pull/8305/commits/87e514c390c34da499b89acea08be38fe95fdd1f
d224052 Oops handlerbot Oct 26, 2022 https://github.com/python/cpython/pull/8305/commits/d224052c52819852d1da81b542aa8a3338ee10bf
70ba474 1nm to the left handlerbot Oct 26, 2022 https://github.com/python/cpython/pull/8305/commits/70ba474b00360a5630b5c1f6a912ab4f3f169f6f
0a5db5f Merge branch 'main' into fix-bpo-22708 handlerbot Oct 26, 2022 https://github.com/python/cpython/pull/8305/commits/0a5db5f58293fbf84a2ab009ceda1da160c94289
d3b5726 Merge branch 'main' into fix-bpo-22708 handlerbot Jan 12, 2023 https://github.com/python/cpython/pull/8305/commits/d3b57266dc8b1388e6ee9614eebae01189d5aea2
92c4f20 Merge branch 'main' into fix-bpo-22708 arhadthedev Mar 22, 2023 https://github.com/python/cpython/pull/8305/commits/92c4f205940845df7a9ed654b8178a38e4935e0a
Clear filters https://github.com/python/cpython/pull/8305/commits/c3927ed9929afd67ec25794c68c076aed908d13b
Please reload this pagehttps://github.com/python/cpython/pull/8305/commits/c3927ed9929afd67ec25794c68c076aed908d13b
Please reload this pagehttps://github.com/python/cpython/pull/8305/commits/c3927ed9929afd67ec25794c68c076aed908d13b
Prev https://github.com/python/cpython/pull/8305/commits/9f5ce0930ba7488c954b0d9cf018ddc4a37d3109
Next https://github.com/python/cpython/pull/8305/commits/2fe3ade45a12570d0ac5d5a8d3fb9064e7a3dfd4
Please reload this pagehttps://github.com/python/cpython/pull/8305/commits/c3927ed9929afd67ec25794c68c076aed908d13b
https://github.com/handlerbot
handlerbothttps://github.com/python/cpython/commits?author=handlerbot
Lib/test/test_httplib.pyhttps://github.com/python/cpython/pull/8305/commits/c3927ed9929afd67ec25794c68c076aed908d13b#diff-6202bc3817db8ca8da16747c2447a99b5cb9037cc39f05a29f4dd152d155dac2
View file https://github.com/python/cpython/blob/c3927ed9929afd67ec25794c68c076aed908d13b/Lib/test/test_httplib.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/8305/commits/{{ revealButtonHref }}
https://github.com/python/cpython/pull/8305/commits/c3927ed9929afd67ec25794c68c076aed908d13b#diff-6202bc3817db8ca8da16747c2447a99b5cb9037cc39f05a29f4dd152d155dac2
https://github.com/python/cpython/pull/8305/commits/c3927ed9929afd67ec25794c68c076aed908d13b#diff-6202bc3817db8ca8da16747c2447a99b5cb9037cc39f05a29f4dd152d155dac2
https://github.com/python/cpython/pull/8305/commits/c3927ed9929afd67ec25794c68c076aed908d13b#diff-6202bc3817db8ca8da16747c2447a99b5cb9037cc39f05a29f4dd152d155dac2
https://github.com/python/cpython/pull/8305/commits/c3927ed9929afd67ec25794c68c076aed908d13b#diff-6202bc3817db8ca8da16747c2447a99b5cb9037cc39f05a29f4dd152d155dac2
https://github.com/python/cpython/pull/8305/commits/c3927ed9929afd67ec25794c68c076aed908d13b#diff-6202bc3817db8ca8da16747c2447a99b5cb9037cc39f05a29f4dd152d155dac2
https://github.com/python/cpython/pull/8305/commits/c3927ed9929afd67ec25794c68c076aed908d13b#diff-6202bc3817db8ca8da16747c2447a99b5cb9037cc39f05a29f4dd152d155dac2
https://github.com/python/cpython/pull/8305/commits/c3927ed9929afd67ec25794c68c076aed908d13b#diff-6202bc3817db8ca8da16747c2447a99b5cb9037cc39f05a29f4dd152d155dac2
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.