./www/py-httpcore, Minimal low-level HTTP client

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


Branch: CURRENT, Version: 1.0.4, Package name: py311-httpcore-1.0.4, Maintainer: pkgsrc-users

The HTTP Core package provides a minimal low-level HTTP client, which does one
thing only. Sending HTTP requests.

It does not provide any high level model abstractions over the API, does not
handle redirects, multipart uploads, building authentication headers,
transparent HTTP caching, URL parsing, session cookie handling, content or
charset decoding, handling JSON, environment based configuration defaults, or
any of that Jazz.

Some things HTTP Core does do:
* Sending HTTP requests.
* Provides both sync and async interfaces.
* Supports HTTP/1.1 and HTTP/2.
* Async backend support for asyncio and trio.
* Automatic connection pooling.
* HTTP(S) proxy support.


Required to run:
[devel/py-setuptools] [www/py-h2] [www/py-h11] [lang/python37] [misc/py-sniffio]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 81.148 KB

Version history: (Expand)


CVS history: (Expand)


   2024-02-21 20:14:45 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-httpcore: updated to 1.0.4

1.0.4 (February 21st, 2024)

- Add `target` request extension.
- Fix support for connection `Upgrade` and `CONNECT` when some data in the \ 
stream has been read.
   2024-02-14 22:57:00 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-httpcore: updated to 1.0.3

1.0.3 (February 13th, 2024)

- Fix support for async cancellations.
- Fix trace extension when used with socks proxy.
- Fix SSL context for connections using the "wss" scheme
   2023-11-14 18:54:39 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-httpcore: updated to 1.0.2

1.0.2 (November 10th, 2023)

- Fix `float("inf")` timeouts in `Event.wait` function.
   2023-11-06 18:38:57 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-httpcore: updated to 1.0.1

1.0.1 (November 3rd, 2023)

- Fix pool timeout to account for the total time spent retrying.
- Raise a neater RuntimeError when the correct async deps are not installed.
- Add support for synchronous TLS-in-TLS streams.
   2023-10-30 10:16:30 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-httpcore: updated to 1.0.0

1.0.0 (October 6th, 2023)

From version 1.0 our async support is now optional, as the package has minimal \ 
dependencies by default.

For async support use either pip install 'httpcore[asyncio]' or pip install \ 
'httpcore[trio]'.

The project versioning policy is now explicitly governed by SEMVER. See \ 
https://semver.org/.

Async support becomes fully optional.
Add support for Python 3.12.
   2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | Package updated
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-09-13 09:24:33 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-httpcore: updated to 0.18.0

0.18.0 (September 8th, 2023)

- Add support for HTTPS proxies.
- Drop Python 3.7 support.
- Handle `sni_hostname` extension with SOCKS proxy.
- Handle HTTP/1.1 half-closed connections gracefully.
- Change the type of `Extensions` from `Mapping[Str, Any]` to \ 
`MutableMapping[Str, Any]`.
   2023-07-06 10:01:30 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-httpcore: updated to 0.17.3

0.17.3 (5th July 2023)

- Support async cancellations, ensuring that the connection pool is left in a \ 
clean state when cancellations occur.
- The networking backend interface has [been added to the public \ 
API](https://www.encode.io/httpcore/network-backends). Some classes which were \ 
previously private implementation detail are now part of the top-level public \ 
API.
- Graceful handling of HTTP/2 GoAway frames, with requests being transparently \ 
retried on a new connection.
- Add exceptions when a synchronous `trace callback` is passed to an \ 
asynchronous request or an asynchronous `trace callback` is passed to a \ 
synchronous request.