Uh oh!
There was an error while loading. Please reload this page.
gh-105626: Change the default return value of HTTPConnection.get_proxy_response_headers - #105628
Conversation
…et_proxy_response_headers`
This comment was marked as resolved.
This comment was marked as resolved.
sobolevn
commented
Jun 27, 2023
Friendly ping :) |
sobolevn
commented
Jul 13, 2023
@JelleZijlstra@AlexWaygood we have a little time left :) |
JelleZijlstra
left a comment
There was a problem hiding this comment.
Does seem like None makes more sense here, but I'd prefer to get @gpshead's opinion.
As an aside it's amusing this test is still called test_httplib, after the Python 2 name of this module.
gpshead
commented
Jul 13, 2023
|
gpshead
commented
Jul 13, 2023
I marked this as a release blocker to force us to decide before 3.12rc1 so that we don't wind up with our new API needing to have a deprecation cycle and behavior change in the future (or just live with what is understandably perceived as an API wart). |
@gpshead yes, from this side empty Questions:
|
gpshead
commented
Jul 14, 2023
honestly... that idiom may be enough, I expect this is going to be a very rarely used API. |
miss-islington
commented
Jul 14, 2023
sobolevn
commented
Jul 14, 2023
Thanks everyone :) |
…et_proxy_response_headers` (pythonGH-105628) (cherry picked from commit 490295d) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
bedevere-bot
commented
Jul 14, 2023
GH-106738 is a backport of this pull request to the 3.12 branch. |
…et_proxy_response_headers` (python#105628)
See #104248 (comment)
CC @nametkin
HTTPConnection.get_proxy_response_headersfrom{}toNone#105626📚 Documentation preview 📚: https://cpython-previews--105628.org.readthedocs.build/