summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Test Python 3.10.0-beta4python-3.10.0b4Seth Michael Larson2021-07-121-1/+1
|
* Create a PR template for releases including a post-release checklisteuri102021-07-122-17/+45
|
* Remove unnecessary elif blocksHasan Ramezani2021-07-111-2/+2
|
* Change sub-class of NameResolutionError to NewConnectionErrorQuentin Pradet2021-07-084-15/+11
| | | | | | | This solves various problems: * Adding `NameResolutionError` is no longer a breaking change * Retries are supported again * `ProxyError` is raised again for all proxy related errors
* Upgrade mypy to 0.910 and fix IncompleteRead exception typesHasan Ramezani2021-07-083-9/+12
|
* Remove a few unnecessary `# type: ignore` commentsQuentin Pradet2021-07-084-18/+10
|
* Change mypy session to log all errorsHasan Ramezani2021-07-041-56/+1
|
* Add type hints to urllib3.responseHasan Ramezani2021-07-033-124/+164
|
* Add py.typed file to signal types are defined inlinejohnthagen2021-07-033-1/+6
|
* Add type hints to urllib3.contrib.pyopensslHasan Ramezani2021-07-032-61/+88
|
* Add type hints to urllib3.contrib.securetransportHasan Ramezani2021-06-294-130/+172
|
* Raise NameResolutionError instead of socket.gaierror (#2305)euri102021-06-287-12/+48
| | | The new exception still derives from `socket.gaierror`, so this isn't a breaking change.
* Update setup.cfg (#2311)Marco Scardovi2021-06-261-2/+2
| | | As reference: https://bugs.gentoo.org/798606
* Update docs link in issue template to point at the default instead of `latest`Seth Michael Larson2021-06-251-1/+1
|
* Last fixes to documentation consistencyVishwas B Sharma2021-06-233-9/+10
|
* Docs: add print results where missing (#2302)euri102021-06-232-1/+9
|
* Fix typo 'tox' -> 'nox' in contributing docseuri102021-06-231-1/+1
|
* Add urllib3.contrib._securetransport.bindings to noxfile.TYPED_FILESHasan Ramezani2021-06-211-0/+1
|
* Add type hints to urllib3.contrib._securetransport.low_levelHasan Ramezani2021-06-212-20/+37
|
* Add deprecation of NewConnectionError.pool to changelogHasan Ramezani2021-06-211-0/+2
|
* Don't emit multiple Transfer-Encoding headers in request_chunked()Vishwas B Sharma2021-06-212-6/+55
|
* Make all type aliases private and the same formatVishwas B Sharma2021-06-2111-36/+40
|
* Ignore type checks for urllib3.contrib._securetransport.bindingsHasan Ramezani2021-06-211-1/+5
|
* Test Python 3.10.0-beta3 (#2285)Seth Michael Larson2021-06-211-1/+1
|
* Delete .travis.ymlSeth Michael Larson2021-06-201-56/+0
|
* Make parameters after method and url keyword-only for urllib3.request()Frederico Lima2021-06-203-0/+8
| | | Co-authored-by: Fred <frederico.lima@ifood.com.br>
* Remove CONTRIBUTORS.txtSeth Michael Larson2021-06-193-330/+1
|
* Add type hints to urllib3.contrib.ntlmpoolHasan Ramezani2021-06-192-14/+19
|
* Add cycle-breaking logic to create_connection()Ran Benita2021-06-191-6/+11
| | | This commit synchronizes create_connection() with the implementation in the socket module
* Fix flaky DeprecationWarning testsHasan Ramezani2021-06-193-11/+8
|
* Fix remove_headers_on_redirect feature modifying passed-in headers in-place ↵Ran Benita2021-06-192-5/+10
| | | | | | | | | | | | | (#2272) In general I'd say it's expected in Python that when passing a dict to to an argument like `headers` that it won't be modified in-place and could be reused safely for further requests. Previously the remove_headers_on_redirect feature didn't uphold this. Do a copy to make sure that it does. This commit additionally *avoids* an unneeded copy when the `remove_headers_on_redirect` code isn't reached.
* Add a test for using HTTPHeaderDict with PoolManager(headers) (#2274)Ran Benita2021-06-191-1/+30
|
* Remove python2 compat stuff from test_socketlevel.py (#2276)Ran Benita2021-06-191-36/+22
| | | | | | | * Reformat imports in test_socketlevel.py Make the next commit more understandable. * Remove python2 compat stuff from test_socketlevel.py
* Add type hints to urllib3.contrib.socks Hasan Ramezani2021-06-185-15/+67
|
* Use top-level urllib3.request() function more in docsubdussamad2021-06-172-33/+25
|
* Remove typing-extensions from dev-requirements.txtHasan Ramezani2021-06-171-1/+0
|
* Remove unused `port` argument from dummyserver SocketServerThreadRan Benita2021-06-171-1/+1
| | | Actually a dynamic port is used and the argument is ignored.
* Tolerate the strict parameter being passed via connection_from_context()Hasan Ramezani2021-06-164-0/+72
|
* Added `preload_content`, `retries`, `redirect` and `timeout` arguments to ↵ubdussamad2021-06-163-3/+75
| | | | urllib3.request()
* Install idna in mypy nox sessionHasan Ramezani2021-06-142-4/+3
|
* Add type hints to urllib3/__init__.pyHasan Ramezani2021-06-102-5/+14
|
* Advertise Python 3.10 support in setup.py classifiersHugo van Kemenade2021-06-101-0/+1
|
* Align multipart parameter encoding with current WHATWG HTML standardDavid Lord2021-06-104-98/+164
|
* Fix ssl deprecation warnings in Python 3.10Seth Michael Larson2021-06-077-14/+32
|
* Skip coverage of AttributeError exception in HTTPConnectionPool._get_conn()Hasan Ramezani2021-06-031-1/+1
|
* Add type hints to urllib3.connectionpoolHasan Ramezani2021-06-038-118/+168
|
* Add type hints to urllib3.poolmanager (#2232)Hasan Ramezani2021-05-317-74/+153
| | | Co-authored-by: Seth Michael Larson <sethmichaellarson@gmail.com>
* Add 1.26.5 release to CHANGES in mainhackathonSeth Michael Larson2021-05-261-0/+9
|
* Merge pull request from GHSA-q2q7-5pp4-w6pgSeth Michael Larson2021-05-262-3/+15
|
* Add coverage for all raise branchesBastian Venthur2021-05-2210-5/+116
|