Path to this page:
./
www/py-urllib3,
HTTP library with thread-safe connection pooling
Branch: CURRENT,
Version: 2.2.3,
Package name: py312-urllib3-2.2.3,
Maintainer: imilHTTP library with thread-safe connection pooling, file post, and more.
Highlights
* Re-use the same socket connection for multiple requests (HTTPConnectionPool
and HTTPSConnectionPool) (with optional client-side certificate
verification).
* File posting (encode_multipart_formdata).
* Built-in redirection and retries (optional).
* Supports gzip and deflate decoding.
* Thread-safe and sanity-safe.
* Works with AppEngine, gevent, and eventlib.
* Tested on Python 2.6+ and Python 3.2+, 100% unit test coverage.
* Small and easy to understand codebase perfect for extending and building
upon. For a more comprehensive solution, have a look at Requests which is
also powered by urllib3.
Required to run:[
security/py-OpenSSL] [
devel/py-setuptools] [
security/py-cryptography] [
www/py-idna] [
security/py-certifi] [
net/py-Socks] [
lang/python37]
Required to build:[
pkgtools/cwrappers]
Package options: brotli, zstd
Master sites:
Filesize: 293.63 KB
Version history: (Expand)
- (2024-09-12) Updated to version: py312-urllib3-2.2.3
- (2024-08-16) Updated to version: py312-urllib3-2.2.2
- (2024-06-17) Updated to version: py311-urllib3-2.2.2
- (2024-02-18) Updated to version: py311-urllib3-2.2.1
- (2024-01-30) Updated to version: py311-urllib3-2.2.0
- (2023-11-19) Updated to version: py311-urllib3-2.1.0nb1
CVS history: (Expand)
2024-03-19 11:58:01 by Nia Alarie | Files touched by this commit (2) |
Log message:
py-urllib3: Make optional dependencies actually optional.
|
2024-02-18 09:24:12 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-urllib3: updated to 2.2.1
2.2.1 (2024-02-16)
- Fixed issue where ``InsecureRequestWarning`` was emitted for HTTPS connections \
when using Emscripten.
- Fixed ``HTTPConnectionPool.urlopen`` to stop automatically casting non-proxy \
headers to ``HTTPHeaderDict``. This change was premature as it did not apply to \
proxy headers and ``HTTPHeaderDict`` does not handle byte header values \
correctly yet.
- Changed ``ProtocolError`` to ``InvalidChunkLength`` when response terminates \
before the chunk length is sent.
- Changed ``ProtocolError`` to be more verbose on incomplete reads with excess \
content.
|
2024-01-30 21:04:53 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-urllib3: updated to 2.2.0
2.2.0 (2024-01-30)
- Added support for `Emscripten and Pyodide \
<https://urllib3.readthedocs.io/en/latest/reference/contrib/emscripten.html>`__, \
including streaming support in cross-origin isolated browser environments where \
threading is enabled.
- Added support for ``HTTPResponse.read1()`` method.
- Added rudimentary support for HTTP/2.
- Fixed issue where requests against urls with trailing dots were failing due to \
SSL errors
when using proxy.
- Fixed ``HTTPConnection.proxy_is_verified`` and \
``HTTPSConnection.proxy_is_verified``
to be always set to a boolean after connecting to a proxy. It could be
``None`` in some cases previously.
- Fixed an issue where ``headers`` passed in a request with ``json=`` would be \
mutated
- Fixed ``HTTPSConnection.is_verified`` to be set to ``False`` when connecting
from a HTTPS proxy to an HTTP target. It was set to ``True`` previously.
- Fixed handling of new error message from OpenSSL 3.2.0 when configuring an \
HTTP proxy as HTTPS
- Fixed TLS 1.3 post-handshake auth when the server certificate validation is \
disabled
- Note for downstream distributors: To run integration tests, you now need to \
run the tests a second
time with the ``--integration`` pytest flag.
|
2023-11-19 20:53:33 by Thomas Klausner | Files touched by this commit (1) | |
Log message:
py-urllib3: add missing dependency, update test status
|
2023-11-19 18:38:36 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-urllib3: updated to 2.1.0
2.1.0 (2023-11-13)
Read the `v2 migration guide \
<https://urllib3.readthedocs.io/en/latest/v2-migration-guide.html>`__ for \
help upgrading to the latest version of urllib3.
Removals
- Removed support for the deprecated urllib3[secure] extra.
- Removed support for the deprecated SecureTransport TLS implementation.
- Removed support for the end-of-life Python 3.7.
Bugfixes
- Allowed loading CA certificates from memory for proxies.
- Fixed decoding Gzip-encoded responses which specified ``x-gzip`` content-encoding.
|
2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | |
Log message:
python/wheel.mk: simplify a lot, and switch to 'installer' for installation
This follows the recommended bootstrap method (flit_core, build, installer).
However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
|
2023-10-18 09:58:02 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-urllib3: updated to 2.0.7
2.0.7 (2023-10-17)
* Made body stripped from HTTP requests changing the request method to GET after \
HTTP 303 "See Other" redirect responses.
|
2023-10-02 21:01:57 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-urllib3: updated to 2.0.6
2.0.6 (2023-10-02)
* Added the ``Cookie`` header to the list of headers to strip from requests when \
redirecting to a different host. As before, different headers can be set via \
``Retry.remove_headers_on_redirect``.
|