./www/py-urllib3, HTTP library with thread-safe connection pooling

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.24.1, Package name: py27-urllib3-1.24.1, Maintainer: imil

HTTP 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] [lang/python27] [security/py-cryptography] [www/py-idna] [net/py-ipaddress] [security/py-certifi] [net/py-Socks]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 2d5593e48a650e4ba05358c7d2de865684001948
RMD160: 59727addb1065b604eacf33aa159c543164fce82
Filesize: 224.305 KB

Version history: (Expand)


CVS history: (Expand)


   2018-11-04 23:13:40 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-urllib3: updated to 1.24.1

1.24.1:
* Remove quadratic behavior within GzipDecoder.decompress()
* Restored functionality of ciphers parameter for create_urllib3_context()
   2018-10-18 21:46:20 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-urllib3: updated to 1.24

1.24:
Allow key_server_hostname to be specified when initializing a PoolManager to \ 
allow custom SNI to be overridden.
Test against Python 3.7 on AppVeyor.
Early-out ipv6 checks when running on App Engine.
Change ambiguous description of backoff_factor
Add ability to handle multiple Content-Encodings
Skip DNS names that can't be idna-decoded when using pyOpenSSL
Add a server_hostname parameter to HTTPSConnection which allows for overriding \ 
the SNI hostname sent in the handshake.
Drop support for EOL Python 2.6
Fixed bug where responses with header Content-Type: message/* erroneously raised \ 
HeaderParsingError, resulting in a warning being logged.
Move urllib3 to src/urllib3
   2018-09-06 15:43:18 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
py-urllib3: fix py-ipaddress dependency
   2018-06-16 14:10:40 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-urllib3: updated to 1.23

1.23:
* Allow providing a list of headers to strip from requests when redirecting
  to a different host. Defaults to the Authorization header. Different
  headers can be set via Retry.remove_headers_on_redirect.
* Fix util.selectors._fileobj_to_fd to accept long
* Dropped Python 3.3 support.
* Put the connection back in the pool when calling stream() or read_chunked() on
  a chunked HEAD response.
* Fixed pyOpenSSL-specific ssl client authentication issue when clients
  attempted to auth via certificate + chain
* Add the port to the connectionpool connect print
* Don't use the uuid module to create multipart data boundaries.
* read_chunked() on a closed response returns no chunks.
* Add Python 2.6 support to contrib.securetransport
* Added support for auth info in url for SOCKS proxy
   2017-07-20 18:53:13 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
1.22:
Fixed missing brackets in HTTP CONNECT when connecting to IPv6 address via IPv6 \ 
proxy.
Made the connection pool retry on SSLError. The original SSLError is available \ 
on MaxRetryError.reason.
Drain and release connection before recursing on retry/redirect. Fixes deadlocks \ 
with a blocking connectionpool.
Fixed compatibility for cookiejar.
pyopenssl: Use vendored version of six
   2017-05-10 19:12:16 by Adam Ciarcinski | Files touched by this commit (3)
Log message:
Changes 1.21.1:
Fixed SecureTransport issue that would cause long delays in response body delivery.
Fixed regression in 1.21 that threw exceptions when users passed the \ 
socket_options flag to the PoolManager.
Fixed regression in 1.21 that threw exceptions when users passed the \ 
assert_hostname or assert_fingerprint flag to the PoolManager.
   2017-04-08 22:10:31 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
Changes 1.20:
Added support for waiting for I/O using selectors other than select, improving \ 
urllib3’s behaviour with large numbers of concurrent connections. (Pull \ 
1001)
Updated the date for the system clock check. (Issue 1005)
ConnectionPools now correctly consider hostnames to be case-insensitive. (Issue 1032)
Outdated versions of PyOpenSSL now cause the PyOpenSSL contrib module to fail \ 
when it is injected, rather than at first use. (Pull 1063)
Outdated versions of cryptography now cause the PyOpenSSL contrib module to fail \ 
when it is injected, rather than at first use. (Issue 1044)
Automatically attempt to rewind a file-like body object when a request is \ 
retried or redirected. (Pull 1039)
Fix some bugs that occur when modules incautiously patch the queue module. (Pull \ 
1061)
Prevent retries from occuring on read timeouts for which the request method was \ 
not in the method whitelist. (Issue 1059)
Changed the PyOpenSSL contrib module to lazily load idna to avoid unnecessarily \ 
bloating the memory of programs that don’t need it. (Pull 1076)
Add support for IPv6 literals with zone identifiers. (Pull 1013)
Added support for socks5h:// and socks4a:// schemes when working with SOCKS \ 
proxies, and controlled remote DNS appropriately. (Issue 1035)
   2016-01-02 12:03:30 by Thomas Klausner | Files touched by this commit (1)
Log message:
Add two build (test) dependencies that are needed according to upstream.
No change in test results though.