diff options
| author | Alexey Namyotkin <62434915+nametkin@users.noreply.github.com> | 2023-05-16 06:20:30 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-16 06:20:30 (GMT) |
| commit | 85ec192ac4b000d4e47df6123b65eacbd1fdccfa (patch) | |
| tree | 6029b8cda6865e42154c9bcea0e419c8ba0f54eb /Python/bytecodes.c | |
| parent | 24d8b88420b81fc60aeb0cbcacef1e72d633824a (diff) | |
| download | cpython-85ec192ac4b000d4e47df6123b65eacbd1fdccfa.zip cpython-85ec192ac4b000d4e47df6123b65eacbd1fdccfa.tar.gz cpython-85ec192ac4b000d4e47df6123b65eacbd1fdccfa.tar.bz2 | |
gh-69152: add method get_proxy_response_headers to HTTPConnection class (#104248)
Add http.client.HTTPConnection method get_proxy_response_headers() - this is a followup to https://github.com/python/cpython/pull/26152 which added it as a non-public attribute. This way we don't pre-compute a headers dictionary that most users will never access. The new method is properly public and documented and triggers full proxy header parsing into a dict only when actually called.
---------
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Diffstat (limited to 'Python/bytecodes.c')
0 files changed, 0 insertions, 0 deletions
