classification
Title: logging HTTPHandler does not support proxy
Type: enhancement Stage: resolved
Components: Library (Lib) Versions: Python 3.9
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: lorb, vinay.sajip
Priority: normal Keywords: patch

Created on 2020-03-02 15:04 by lorb, last changed 2020-03-04 10:50 by vinay.sajip. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 18745 merged lorb, 2020-03-02 15:14
Messages (2)
msg363181 - (view) Author: lorb (lorb) * Date: 2020-03-02 15:04
The HTTPHandler does not support using a proxy. It would be necessary to subclass it and reimplement `emit` to enable passing in proxy settings.
Adding a hook to make it easy to customize the connection used would solve this.
msg363342 - (view) Author: Vinay Sajip (vinay.sajip) * (Python committer) Date: 2020-03-04 10:49
New changeset 22a9a546ff3bf2a63d77ca1e5494e758bc59132f by l0rb in branch 'master':
bpo-39826: add getConnection() hook to logging HTTPHandler (GH-18745)
https://github.com/python/cpython/commit/22a9a546ff3bf2a63d77ca1e5494e758bc59132f
History
Date User Action Args
2020-03-04 10:50:33vinay.sajipsetstatus: open -> closed
stage: patch review -> resolved
resolution: fixed
versions: + Python 3.9
2020-03-04 10:49:55vinay.sajipsetnosy: + vinay.sajip
messages: + msg363342
2020-03-02 15:14:16lorbsetkeywords: + patch
stage: patch review
pull_requests: + pull_request18099
2020-03-02 15:04:37lorbcreate