| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Remove unnecessary elif blocks | Hasan Ramezani | 2021-07-11 | 1 | -2/+2 |
| | | |||||
| * | Change sub-class of NameResolutionError to NewConnectionError | Quentin Pradet | 2021-07-08 | 3 | -13/+9 |
| | | | | | | | | 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 types | Hasan Ramezani | 2021-07-08 | 2 | -7/+9 |
| | | |||||
| * | Remove a few unnecessary `# type: ignore` comments | Quentin Pradet | 2021-07-08 | 4 | -18/+10 |
| | | |||||
| * | Add type hints to urllib3.response | Hasan Ramezani | 2021-07-03 | 2 | -124/+163 |
| | | |||||
| * | Add py.typed file to signal types are defined inline | johnthagen | 2021-07-03 | 1 | -0/+2 |
| | | |||||
| * | Add type hints to urllib3.contrib.pyopenssl | Hasan Ramezani | 2021-07-03 | 1 | -61/+87 |
| | | |||||
| * | Add type hints to urllib3.contrib.securetransport | Hasan Ramezani | 2021-06-29 | 3 | -130/+171 |
| | | |||||
| * | Raise NameResolutionError instead of socket.gaierror (#2305) | euri10 | 2021-06-28 | 3 | -1/+16 |
| | | | | The new exception still derives from `socket.gaierror`, so this isn't a breaking change. | ||||
| * | Add type hints to urllib3.contrib._securetransport.low_level | Hasan Ramezani | 2021-06-21 | 1 | -20/+36 |
| | | |||||
| * | Don't emit multiple Transfer-Encoding headers in request_chunked() | Vishwas B Sharma | 2021-06-21 | 1 | -1/+1 |
| | | |||||
| * | Make all type aliases private and the same format | Vishwas B Sharma | 2021-06-21 | 11 | -36/+40 |
| | | |||||
| * | Ignore type checks for urllib3.contrib._securetransport.bindings | Hasan Ramezani | 2021-06-21 | 1 | -1/+5 |
| | | |||||
| * | Make parameters after method and url keyword-only for urllib3.request() | Frederico Lima | 2021-06-20 | 1 | -0/+1 |
| | | | | Co-authored-by: Fred <frederico.lima@ifood.com.br> | ||||
| * | Add type hints to urllib3.contrib.ntlmpool | Hasan Ramezani | 2021-06-19 | 1 | -14/+18 |
| | | |||||
| * | Add cycle-breaking logic to create_connection() | Ran Benita | 2021-06-19 | 1 | -6/+11 |
| | | | | This commit synchronizes create_connection() with the implementation in the socket module | ||||
| * | Fix remove_headers_on_redirect feature modifying passed-in headers in-place ↵ | Ran Benita | 2021-06-19 | 1 | -4/+5 |
| | | | | | | | | | | | | | | (#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 type hints to urllib3.contrib.socks | Hasan Ramezani | 2021-06-18 | 3 | -15/+50 |
| | | |||||
| * | Tolerate the strict parameter being passed via connection_from_context() | Hasan Ramezani | 2021-06-16 | 1 | -0/+9 |
| | | |||||
| * | Added `preload_content`, `retries`, `redirect` and `timeout` arguments to ↵ | ubdussamad | 2021-06-16 | 1 | -2/+16 |
| | | | | | urllib3.request() | ||||
| * | Install idna in mypy nox session | Hasan Ramezani | 2021-06-14 | 1 | -4/+2 |
| | | |||||
| * | Add type hints to urllib3/__init__.py | Hasan Ramezani | 2021-06-10 | 1 | -5/+13 |
| | | |||||
| * | Align multipart parameter encoding with current WHATWG HTML standard | David Lord | 2021-06-10 | 1 | -57/+101 |
| | | |||||
| * | Fix ssl deprecation warnings in Python 3.10 | Seth Michael Larson | 2021-06-07 | 4 | -10/+27 |
| | | |||||
| * | Skip coverage of AttributeError exception in HTTPConnectionPool._get_conn() | Hasan Ramezani | 2021-06-03 | 1 | -1/+1 |
| | | |||||
| * | Add type hints to urllib3.connectionpool | Hasan Ramezani | 2021-06-03 | 7 | -118/+167 |
| | | |||||
| * | Add type hints to urllib3.poolmanager (#2232) | Hasan Ramezani | 2021-05-31 | 5 | -72/+143 |
| | | | | Co-authored-by: Seth Michael Larson <sethmichaellarson@gmail.com> | ||||
| * | Merge pull request from GHSA-q2q7-5pp4-w6pg | Seth Michael Larson | 2021-05-26 | 1 | -3/+5 |
| | | |||||
| * | Add documentation guidelines to contributing docs, apply to guides | ubdussamad | 2021-05-21 | 5 | -47/+92 |
| | | |||||
| * | Added body parameter to top-level request() and RequestMethods.request() | Bastian Venthur | 2021-05-19 | 2 | -2/+6 |
| | | |||||
| * | Changed :ret: RST directive to :returns: | Bastian Venthur | 2021-05-18 | 1 | -2/+2 |
| | | |||||
| * | Added HTTPHeaderDict to top level module | ubdussamad | 2021-05-17 | 1 | -0/+2 |
| | | |||||
| * | Add type hints to urllib3.util.retry | Hasan Ramezani | 2021-05-14 | 1 | -53/+72 |
| | | |||||
| * | Add type hints to urllib3.util.timeout | Hasan Ramezani | 2021-05-11 | 1 | -18/+29 |
| | | |||||
| * | Remove urllib3.util.current_time, use time.monotonic instead | Hasan Ramezani | 2021-05-11 | 2 | -8/+3 |
| | | |||||
| * | Fix default socket_options value for HTTPSConnection | Franek Magiera | 2021-05-10 | 1 | -1/+3 |
| | | |||||
| * | Add type hints to urllib3.request | Hasan Ramezani | 2021-05-07 | 1 | -22/+43 |
| | | |||||
| * | Add type hints to urllib3.util.request | Hasan Ramezani | 2021-05-07 | 1 | -12/+15 |
| | | |||||
| * | Add type hints to urllib3.util.util | Hasan Ramezani | 2021-05-06 | 1 | -2/+2 |
| | | |||||
| * | Raise FullPoolError when _put_conn() is called on full blocking pool | Dmitry Mazin | 2021-05-01 | 2 | -2/+20 |
| | | |||||
| * | Change from str.format() to f-strings | Franek Magiera | 2021-05-01 | 2 | -6/+5 |
| | | |||||
| * | Fix handling of conn without sock in is_connection_dropped() | Christian Neumüller | 2021-04-27 | 1 | -1/+1 |
| | | |||||
| * | Move ssl_match_hostname to urllib3.utils | Hasan Ramezani | 2021-04-21 | 7 | -27/+14 |
| | | |||||
| * | Add type hints for proxy, ssl_, ssltransport and wait modules | Franek Magiera | 2021-04-20 | 5 | -71/+225 |
| | | |||||
| * | Add type hints to connection modules | Franek Magiera | 2021-04-12 | 6 | -113/+238 |
| | | |||||
| * | Update accept_encoding=True documentation for Brotli | Дилян Палаузов | 2021-03-29 | 1 | -1/+2 |
| | | |||||
| * | Use queue.LifoQueue instead of our own implementation | Dulmandakh | 2021-03-18 | 2 | -18/+1 |
| | | | | Co-authored-by: Seth Michael Larson <sethmichaellarson@gmail.com> | ||||
| * | Stop relying on stdlib hostname matching until hostname_checks_common_name ↵ | Quentin Pradet | 2021-03-18 | 1 | -2/+4 |
| | | | | | | | | | | | bug fixed I can't make hostname_checks_common_name work, either locally or on GitHub Actions, so stop using the standard library to match hostnames for now. Per https://bugs.python.org/issue43522 this is a bug in CPython ssl module and will likely be available in 3.10.0-alpha7 of CPython | ||||
| * | Lean on SSLContext to verify hostnames when possible (#2178) | Quentin Pradet | 2021-03-16 | 4 | -24/+27 |
| | | | | | | | | | | | | | | | | | | | | | | | | * Use exact same SNI logic in pyOpenSSL and SecureTransport It won't make a difference in practice, and avoids useless differences. * Move "no SNI if IP address" responsibilty to TLS backends * The ssl module already avoids SNI when the host is an IP address * pyOpenSSL now does that too * We were already using SNI on IP addresses with SecureTransport anyway In other words, this does not change anything, but is cleaner (we no longer test for SecureTransport in ssl.py) and will allow us to lean on ssl.SSLContext to match hostnames. * Stop exposing is_ipaddress as a public We already have way too much public functions * Lean on SSLContext to verify hostnames when possible * Address review comments | ||||
| * | Always use our custom ssl.match_hostname() implementation | Quentin Pradet | 2021-03-16 | 2 | -21/+1 |
| | | | | Python's implementation still accepts commonName and we don't want that behavior. | ||||
