[BACK]Return to distinfo CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / www / py-httpcore

File: [cvs.NetBSD.org] / pkgsrc / www / py-httpcore / distinfo (download)

Revision 1.6, Sat May 8 08:56:56 2021 UTC (5 months, 1 week ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q2-base, pkgsrc-2021Q2
Changes since 1.5: +5 -5 lines

py-httpcore: updated to 0.13.3

0.13.3 (May 6th, 2021)


- Support HTTP/2 prior knowledge, using `httpcore.SyncConnectionPool(http1=False)`.


- Handle cases where environment does not provide `select.poll` support.

0.13.2 (April 29th, 2021)


- Improve error message for specific case of `RemoteProtocolError` where server disconnects without sending a response.

0.13.1 (April 28th, 2021)


- More resiliant testing for closed connections.
- Don't raise exceptions on ungraceful connection closes.

0.13.0 (April 21st, 2021)

The 0.13 release updates the core API in order to match the HTTPX Transport API,
introduced in HTTPX 0.18 onwards.

An example of making requests with the new interface is:

with httpcore.SyncConnectionPool() as http:
    status_code, headers, stream, extensions = http.handle_request(
        url=(b'https', b'example.org', 443, b'/'),
        headers=[(b'host', b'example.org'), (b'user-agent', b'httpcore')]
    body = stream.read()
    print(status_code, body)


- The `.request()` method is now `handle_request()`.
- The `.arequest()` method is now `.handle_async_request()`.
- The `headers` argument is no longer optional.
- The `stream` argument is no longer optional.
- The `ext` argument is now named `extensions`, and is no longer optional.
- The `"reason"` extension keyword is now named `"reason_phrase"`.
- The `"reason_phrase"` and `"http_version"` extensions now use byte strings for their values.
- The `httpcore.PlainByteStream()` class becomes `httpcore.ByteStream()`.


- Streams now support a `.read()` interface.


- Task cancelation no longer leaks connections from the connection pool.

$NetBSD: distinfo,v 1.6 2021/05/08 08:56:56 adam Exp $

SHA1 (httpcore-0.13.3.tar.gz) = 0510e32659e912e185f715661c9afc4e490f213e
RMD160 (httpcore-0.13.3.tar.gz) = 82bf6bb7e4cda1b71534b301c25ad49975ed1c42
SHA512 (httpcore-0.13.3.tar.gz) = b7177ef4e49f911ee225898235af94ea955263edf50b63778303a5a8f80448b4480899acf198c208b8bee07a7d236f06fd90f8f720b1a97651a3d706b4b4c073
Size (httpcore-0.13.3.tar.gz) = 45292 bytes