| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e95e78f5-f8e6-3b12-01ad-3b5cc8105e4e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C9DE:1EFC6:AEFFE4:F28190:696A880B |
| html-safe-nonce | 6147d7d44e33d50a5d475ecc1e648c2a3dd8d65f830e899aa2c971abb73edfa0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOURFOjFFRkM2OkFFRkZFNDpGMjgxOTA6Njk2QTg4MEIiLCJ2aXNpdG9yX2lkIjoiNTAwNzcyOTA5MDYxMzY0MzI3NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 85a29e27354a54fe92fc22c95afedf72a031a61c8b7d6ab82f3559c236d0d560 |
| hovercard-subject-tag | pull_request:201768651 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/8305/files |
| twitter:image | https://avatars.githubusercontent.com/u/90347?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/90347?s=400&v=4 |
| og:image:alt | 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... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | d2aa6dedd7d97fa651b17c40401f2605f309df5ca5fb659bf0554cf34f1de825 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c1dbca8981c5e3d6a69bce2f1d289e732b86241d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/8305/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F8305%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2Ffiles |
|
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%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/8305/files |
| Reload | https://github.com/python/cpython/pull/8305/files |
| Reload | https://github.com/python/cpython/pull/8305/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/8305/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
33.9k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
71.1k
| 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
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/python/cpython/security |
| Please reload this page | https://github.com/python/cpython/pull/8305/files |
|
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 service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| orsenthil | https://github.com/orsenthil |
| python:main | https://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 page | https://github.com/python/cpython/pull/8305/files |
|
gh-66897: Upgrade HTTP CONNECT to protocol HTTP/1.1
| https://github.com/python/cpython/pull/8305/files#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/files |
| Please reload this page | https://github.com/python/cpython/pull/8305/files |
| Please reload this page | https://github.com/python/cpython/pull/8305/files |
|
http.client.rst
| https://github.com/python/cpython/pull/8305/files#diff-8b593d59208d92a1f73c3066a46cb0298ba69dfb710f4d91f99071d1b0407698 |
|
client.py
| https://github.com/python/cpython/pull/8305/files#diff-3cf29d90eb758d0fe5ec013bbfda9b0bb60be4f7d899583bd5f490a7a5a5dc5f |
|
test_httplib.py
| https://github.com/python/cpython/pull/8305/files#diff-6202bc3817db8ca8da16747c2447a99b5cb9037cc39f05a29f4dd152d155dac2 |
|
ACKS
| https://github.com/python/cpython/pull/8305/files#diff-d1243956feb505c5459fc05387e194609efb5c350cee202942be47ed30d7d7d0 |
|
2018-07-16-14-10-29.bpo-22708.592iRR.rst
| https://github.com/python/cpython/pull/8305/files#diff-b755efbbd9d045b76c69912db131e612feed5ece01fe28a5ae740344ed02371c |
| Doc/library/http.client.rst | https://github.com/python/cpython/pull/8305/files#diff-8b593d59208d92a1f73c3066a46cb0298ba69dfb710f4d91f99071d1b0407698 |
|
View file
| https://github.com/python/cpython/blob/92c4f205940845df7a9ed654b8178a38e4935e0a/Doc/library/http.client.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/8305/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/8305/files#diff-8b593d59208d92a1f73c3066a46cb0298ba69dfb710f4d91f99071d1b0407698 |
|
| https://github.com/python/cpython/pull/8305/files#diff-8b593d59208d92a1f73c3066a46cb0298ba69dfb710f4d91f99071d1b0407698 |
|
| https://github.com/python/cpython/pull/8305/files#diff-8b593d59208d92a1f73c3066a46cb0298ba69dfb710f4d91f99071d1b0407698 |
| Lib/http/client.py | https://github.com/python/cpython/pull/8305/files#diff-3cf29d90eb758d0fe5ec013bbfda9b0bb60be4f7d899583bd5f490a7a5a5dc5f |
|
View file
| https://github.com/python/cpython/blob/92c4f205940845df7a9ed654b8178a38e4935e0a/Lib/http/client.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/8305/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/8305/files#diff-3cf29d90eb758d0fe5ec013bbfda9b0bb60be4f7d899583bd5f490a7a5a5dc5f |
|
| https://github.com/python/cpython/pull/8305/files#diff-3cf29d90eb758d0fe5ec013bbfda9b0bb60be4f7d899583bd5f490a7a5a5dc5f |
|
| https://github.com/python/cpython/pull/8305/files#diff-3cf29d90eb758d0fe5ec013bbfda9b0bb60be4f7d899583bd5f490a7a5a5dc5f |
| Lib/test/test_httplib.py | https://github.com/python/cpython/pull/8305/files#diff-6202bc3817db8ca8da16747c2447a99b5cb9037cc39f05a29f4dd152d155dac2 |
|
View file
| https://github.com/python/cpython/blob/92c4f205940845df7a9ed654b8178a38e4935e0a/Lib/test/test_httplib.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/8305/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/8305/files#diff-6202bc3817db8ca8da16747c2447a99b5cb9037cc39f05a29f4dd152d155dac2 |
|
| https://github.com/python/cpython/pull/8305/files#diff-6202bc3817db8ca8da16747c2447a99b5cb9037cc39f05a29f4dd152d155dac2 |
|
| https://github.com/python/cpython/pull/8305/files#diff-6202bc3817db8ca8da16747c2447a99b5cb9037cc39f05a29f4dd152d155dac2 |
|
| https://github.com/python/cpython/pull/8305/files#diff-6202bc3817db8ca8da16747c2447a99b5cb9037cc39f05a29f4dd152d155dac2 |
|
| https://github.com/python/cpython/pull/8305/files#diff-6202bc3817db8ca8da16747c2447a99b5cb9037cc39f05a29f4dd152d155dac2 |
| Misc/ACKS | https://github.com/python/cpython/pull/8305/files#diff-d1243956feb505c5459fc05387e194609efb5c350cee202942be47ed30d7d7d0 |
|
View file
| https://github.com/python/cpython/blob/92c4f205940845df7a9ed654b8178a38e4935e0a/Misc/ACKS |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/8305/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/8305/files#diff-d1243956feb505c5459fc05387e194609efb5c350cee202942be47ed30d7d7d0 |
|
| https://github.com/python/cpython/pull/8305/files#diff-d1243956feb505c5459fc05387e194609efb5c350cee202942be47ed30d7d7d0 |
| Misc/NEWS.d/next/Library/2018-07-16-14-10-29.bpo-22708.592iRR.rst | https://github.com/python/cpython/pull/8305/files#diff-b755efbbd9d045b76c69912db131e612feed5ece01fe28a5ae740344ed02371c |
|
View file
| https://github.com/python/cpython/blob/92c4f205940845df7a9ed654b8178a38e4935e0a/Misc/NEWS.d/next/Library/2018-07-16-14-10-29.bpo-22708.592iRR.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/8305/{{ revealButtonHref }} |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |