summaryrefslogtreecommitdiff
path: root/test/test_proxymanager.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove support for Python 2 and 3.5Hugo van Kemenade2020-11-151-4/+4
| | | | | | | | - Upgrades syntax to Python 3.6+ with f-strings - Removes most usage of six - Removes documentation relevant to Python 2 - Removes universal wheel config - Removes mock dependency for testing
* Sort imports with 'isort'Quentin Pradet2020-10-011-7/+4
|
* Integrate TLS-in-TLS support into urllib3 (#1923)Jorge2020-09-291-0/+4
|
* Revert "Add context to find_unused_port"Quentin Pradet2020-04-071-5/+5
| | | This reverts commit a9508d8d8ac58ed95bf06d8970382664af4e91e3.
* Unwrap ProxyError when evaluating retries (#1830)hodbn2020-04-031-0/+21
|
* Add support for HTTPS connections to proxies. (#1679)Jorge2020-03-121-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support to talk HTTPS to proxies. Currently there's no way to validate identify for the proxy you might be connecting. Proxies supporting HTTPS endpoints are becoming more common and we need to extend the support for them. When an HTTPS proxy is provided, instead of doing the HTTP CONNECT, we'll forward any requests directly to the proxy and ultimately to the destination. * Fix proxy_headers missing on HTTPS proxy connections. * blackfmt missing files. * Prevent usage of HTTPS proxies when fetching HTTPS resources. - Will be supported by default when we can do TLS within TLS. * Update proxy documentation with more information. * Renamed flag for HTTPS websites through HTTPS proxies. * Added myself to contributors. * Documentation and contributors fixes. * Removed mention that TLS in TLS is being developed as requested. * Space in between my name and the github page. * Add flag to enable HTTPS proxy support. Now that we're adding support for HTTPS proxies we want to avoid a breaking change with clients that had an improper proxy configuration. For now, we're adding a warning an defaulting to the previous behavior. In the future we'll change the behavior to enable HTTPS proxies by default. * Remove guard flag, error out on HTTPS/HTTPS. As requested in the last revision for the PR: - Removed the _enable_https_proxies flag. Instead the feature will be enabled and will error out on invalid configurations. (HTTPS + HTTPS) - Other comments: rename a method, parentheses to clarify order of operations.
* Remove unneeded new lines after with statements (#1702)Quentin Pradet2019-10-011-1/+0
| | | | | We recently switched to using context managers in tests, but the extra indentation means that the newlines that were there before are no longer needed.
* Auto formatting using blackRatan Kulshreshtha2019-05-251-14/+15
|
* Update pypi.python.org URLs to pypi.orgJon Dufresne2018-05-011-4/+4
| | | | | | For details on the new PyPI, see the blog post: https://pythoninsider.blogspot.ca/2018/04/new-pypi-launched-legacy-pypi-shutting.html
* Rewrite test_proxymanager.py to be pytest-styleAlex Chan2017-06-021-39/+29
|
* Fix flake errors with unittest2 importSeth Michael Larson2017-01-251-2/+3
|
* Forgot about TestProxyManagerSeth Michael Larson2017-01-221-1/+5
|
* Add cleanup to pools and managerslars48392017-01-211-0/+3
|
* test backwardscompatible errorsThomas Weißschuh2015-06-011-0/+4
|
* Slight code refactoring and simplification, as suggested by @woleverStanislav Vitkovskiy2013-07-311-0/+7
|
* Fixed proxy testStanislav Vitkovskiy2013-07-311-1/+1
|
* Correctly set Host header when using a proxyGavrie Philipson2013-07-291-0/+9
| | | | | Fixed a bug in _set_proxy_headers that ignores the port when setting the 'Host' HTTP header while a proxy is used.
* Generate 'Host' header with proxies.Cory Benfield2013-02-011-4/+8
|
* moved proxy tests to separate filekevin2012-09-011-0/+23
also fixed comment format for consistency