Closed Bug 1679431 Opened 5 years ago Closed 5 years ago

mozphab no longer works through HTTP proxy

Categories

(Conduit :: moz-phab, defect)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: david.ward, Assigned: glob)

References

Details

Attachments

(1 file)

The change in bug 1597264 no longer allows mozphab to connect through an HTTP proxy.

Prior to this change, HTTPS requests were performed with urllib.request.urlopen. This method automatically uses an HTTP proxy based on the *_proxy environment variables.

Now, the http.client.HTTPSConnection class is used directly (or if allowed, http.client.HTTPConnection). The Python documentation points out that it is not normal to do this, but rather to use urllib.request.urlopen instead.

Assignee: nobody → glob
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED

Thank you for this change! However, this fix is incomplete: the connection to the Bugzilla server requires a similar change (in mozphab/bmo.py).

Status: RESOLVED → REOPENED
Resolution: FIXED → ---

As this has already landed I'll file a new bug to track the other issue.

Status: REOPENED → RESOLVED
Closed: 5 years ago5 years ago
Resolution: --- → FIXED
Blocks: 1681005
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: