./www/py-httpx, The next generation HTTP client

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


Branch: CURRENT, Version: 0.27.0, Package name: py311-httpx-0.27.0, Maintainer: pkgsrc-users

HTTPX is a fully featured HTTP client for Python 3, which provides sync and
async APIs, and support for both HTTP/1.1 and HTTP/2.


Required to run:
[devel/py-setuptools] [converters/py-chardet] [www/py-idna] [security/py-certifi] [lang/python37] [misc/py-sniffio] [www/py-rfc3986] [www/py-hstspreload] [www/py-httpcore]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 123.45 KB

Version history: (Expand)


CVS history: (Expand)


   2024-02-21 20:19:34 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-httpx: updated to 0.27.0

0.27.0 (21st February, 2024)

Deprecated

* The `app=...` shortcut has been deprecated. Use the explicit style of \ 
`transport=httpx.WSGITransport()` or `transport=httpx.ASGITransport()` instead.

Fixed

* Respect the `http1` argument while configuring proxy transports.
* Fix RFC 2069 mode digest authentication.
   2024-01-01 12:45:44 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-httpx: updated to 0.26.0

0.26.0 (20th December, 2023)

Added

* The `proxy` argument was added. You should use the `proxy` argument instead of \ 
the deprecated `proxies`, or use `mounts=` for more complex configurations.

Deprecated

* The `proxies` argument is now deprecated. It will still continue to work, but \ 
it will be removed in the future.

Fixed

* Fix cases of double escaping of URL path components. Allow / as a safe \ 
character in the query portion.
* Handle `NO_PROXY` envvar cases when a fully qualified URL is supplied as the value.
* Allow URLs where username or password contains unescaped '@'.
* Ensure ASGI `raw_path` does not include URL query component.
* Ensure `Response.iter_text()` cannot yield empty strings.
   2023-11-27 21:18:46 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-httpx: updated to 0.25.2

0.25.2 (24th November, 2023)

Added

* Add missing type hints to few `__init__()` methods.
   2023-11-06 18:40:17 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-httpx: updated to 0.25.1

0.25.1 (3rd November, 2023)

* Add support for Python 3.12.
* Add support for httpcore 1.0
   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:25:55 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-httpx: updated to 0.25.0

0.25.0 (11th Sep, 2023)

Removed

* Drop support for Python 3.7.

Added

* Support HTTPS proxies.
* Change the type of `Extensions` from `Mapping[Str, Any]` to \ 
`MutableMapping[Str, Any]`.
* Add `socket_options` argument to `httpx.HTTPTransport` and \ 
`httpx.AsyncHTTPTransport` classes.
* The `Response.raise_for_status()` method now returns the response instance. \ 
For example: `data = httpx.get('...').raise_for_status().json()`.

Fixed

* Return `500` error response instead of exceptions when \ 
`raise_app_exceptions=False` is set on `ASGITransport`.
* Ensure all `WSGITransport` environs have a `SERVER_PROTOCOL`.
* Always encode forward slashes as `%2F` in query parameters
* Use Mozilla documentation instead of `httpstatuses.com` for HTTP error reference
   2023-05-19 10:19:51 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-httpx: updated to 0.24.1

0.24.1 (17th May, 2023)

Added

* Provide additional context in some `InvalidURL` exceptions.

Fixed

* Fix optional percent-encoding behaviour.
* More robust checking for opening upload files in binary mode.
* Properly support IP addresses in `NO_PROXY` environment variable.
* Set default file for `NetRCAuth()` to `None` to use the stdlib default.
* Set logging request lines to INFO level for async requests, in line with sync \ 
requests.
* Fix which gen-delims need to be escaped for path/query/fragment components in URL.
   2023-04-17 11:58:49 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-httpx: updated to 0.24.0

0.24.0 (6th April, 2023)

Changed

* The logging behaviour has been changed to be more in-line with other standard \ 
Python logging usages. We no longer have a custom `TRACE` log level, and we no \ 
longer use the `HTTPX_LOG_LEVEL` environment variable to auto-configure logging. \ 
We now have a significant amount of `DEBUG` logging available at the network \ 
level. Full documentation is available at https://www.python-httpx.org/logging/
* The `Response.iter_lines()` method now matches the stdlib behaviour and does \ 
not include the newline characters. It also resolves a performance issue.
* Query parameter encoding switches from using + for spaces and %2F for forward \ 
slash, to instead using %20 for spaces and treating forward slash as a safe, \ 
unescaped character. This differs from `requests`, but is in line with browser \ 
behavior in Chrome, Safari, and Firefox. Both options are RFC valid.
* NetRC authentication is no longer automatically handled, but is instead \ 
supported by an explicit `httpx.NetRCAuth()` authentication class. See the \ 
documentation at https://www.python-httpx.org/advanced/#netrc-support

Removed

* The `rfc3986` dependancy has been removed.