Changes between Version 1 and Version 2 of Ticket #27086, comment 7


Ignore:
Timestamp:
Aug 19, 2016, 4:11:50 AM (8 years ago)
Author:
Chris Jerdonek

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27086, comment 7

    v1 v2  
    11I was able to get things working by causing Mac OS X's auto-detection of proxy information to be skipped (so that `_scproxy._get_proxies()` is not called). This possibility is mentioned [https://docs.python.org/3/library/urllib.request.html#urllib.request.ProxyHandler here] in CPython's `urllib.request.ProxyHandler` documentation.
    22
    3 More detailed instructions appear in `urllib.request`'s module docstring.
     3More detailed instructions appear in `urllib.request`'s module docstring (see [https://github.com/python/cpython/blob/a406b9dc2f51edd2e4916f3a7b10a3257c2b1b12/Lib/urllib/request.py#L47 here] for that part of the docstring).
    44
    55To disable the auto-detection, I followed the instructions in the above-mentioned module docstring and modified `LiveServerBase.urlopen()` to look like the following (this is just a proof of concept):
Back to Top