Josh Cannon
ae1b9f6623
Expose FunctionAuth in __all__ ( #3699 )
...
Co-authored-by: Kar Petrosyan <92274156+karpetrosyan@users.noreply.github.com>
Co-authored-by: Kar Petrosyan <kar.petrosyanpy@gmail.com>
2025-12-10 18:58:48 +04:00
Alex Grönholm
4fb9528c2f
Drop Python 3.8 support ( #3592 )
2025-06-27 12:45:12 +02:00
Tom Christie
e70d0b08c9
Sharper CHANGELOG entry. ( #3448 )
2025-02-14 14:52:54 +00:00
Tom Christie
26d48e0634
Version 0.28.1 ( #3445 )
2024-12-06 15:35:41 +00:00
Tom Christie
89599a9541
Fix verify=False, cert=... case. ( #3442 )
2024-12-04 11:29:09 +00:00
Elaina
8ecb86f0d7
Add test for request params behavior changes ( #3364 ) ( #3440 )
...
Co-authored-by: Tom Christie <tom@tomchristie.com>
2024-12-03 16:12:27 +00:00
Tom Christie
80960fa319
Version 0.28.0. ( #3419 )
2024-11-28 14:50:04 +00:00
Tom Christie
47f4a96ffa
Handle empty zstd responses ( #3412 )
2024-11-22 11:42:51 +00:00
Bob Conan
189fc4bcbe
Update CHANGELOG.md, fix typo(s) ( #3406 )
2024-11-20 12:27:29 +00:00
Tom Christie
1805ee0d22
Graceful upgrade path for 0.28. ( #3394 )
2024-11-12 11:31:42 +00:00
Tom Christie
6622553979
Cleanup Request method parameter. ( #3378 )
2024-10-29 15:31:31 +00:00
Bin Liu
12be5c44ca
add socks5h proxy support ( #3178 )
...
Signed-off-by: bin liu <liubin0329@gmail.com>
Co-authored-by: Tom Christie <tom@tomchristie.com>
2024-10-29 14:10:33 +00:00
Joe Marshall
e9cabc8e1d
made dependencies on certifi and httpcore only load when required ( #3377 )
...
Co-authored-by: Tom Christie <tom@tomchristie.com>
2024-10-29 13:18:39 +00:00
Tom Christie
5440381553
Update CHANGELOG.md ( #3374 )
2024-10-28 16:23:45 +00:00
Tom Christie
489fef48ba
Update CHANGELOG.md ( #3372 )
2024-10-28 14:43:24 +00:00
Tom Christie
8e36f2bc68
Introduce new SSLContext API & escalate deprecations. ( #3319 )
...
Co-authored-by: Kar Petrosyan <92274156+karpetrosyan@users.noreply.github.com>
Co-authored-by: T-256 <132141463+T-256@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-10-28 14:30:08 +00:00
Tom Christie
609df7ecc0
Reintroduce URLTypes. ( #3288 )
2024-08-27 13:52:05 +01:00
Tom Christie
1d6b663433
Update CHANGELOG for 0.27.1 release date. ( #3285 )
2024-08-27 12:27:08 +01:00
Michiel W. Beijen
1bf1ba5124
Version 0.27.1 ( #3275 )
2024-08-22 16:03:23 +01:00
Tom Christie
7c0cda153d
Improve InvalidURL error message. ( #3250 )
2024-07-26 09:36:03 +01:00
Michiel W. Beijen
392dbe45f0
Add support for zstd decoding ( #3139 )
...
This adds support for zstd decoding using the python package zstandard.
This is similar to how it is implemented in urllib3. I also chose the
optional installation option httpx[zstd] to mimic the same option in
urllib3.
zstd decoding is similar to brotli, but in benchmarks it is supposed to
be even faster. The zstd compression is described in RFC 8878.
See https://github.com/encode/httpx/discussions/1986
Co-authored-by: Kamil Monicz <kamil@monicz.dev>
2024-03-21 10:17:15 +00:00
Nick Cameron
4941b40cbb
Fix broken links in docs/contributing.md and CHANGELOG.md ( #3124 )
2024-02-29 11:11:43 +00:00
Jon Finerty
4de13707ee
Use more permissible types in ASGIApp ( #3109 )
...
* Use the type.MutableMapping instead of Dict
MutableMapping is a slightly more permissible type (allowing the previous Dict type) but matches up to Starlettes tpyes
* Update CHANGELOG.md
---------
Co-authored-by: Tom Christie <tom@tomchristie.com>
2024-02-23 13:36:45 +00:00
Tom Christie
326b9431c7
Version 0.27.0 ( #3095 )
...
* Version 0.27.0
* Update CHANGELOG.md (#3097 )
wrong year I think? I'm new to github so idk if I'm doing this right
Co-authored-by: ReadyRainFor <119354484+ReadyRainFor@users.noreply.github.com>
* Update CHANGELOG.md
* Update CHANGELOG.md
---------
Co-authored-by: Rain <119354484+Rainkenstein@users.noreply.github.com>
Co-authored-by: ReadyRainFor <119354484+ReadyRainFor@users.noreply.github.com>
2024-02-21 13:06:19 +00:00
Tom Christie
cabd1c095e
Deprecate app=... in favor of explicit WSGITransport/ASGITransport. ( #3050 )
...
* Deprecate app=... in favour of explicit WSGITransport/ASGITransport
* Linting
* Linting
* Update WSGITransport and ASGITransport docs
* Deprecate app
* Drop deprecation tests
* Add CHANGELOG
* Deprecate 'app=...' shortcut, rather than removing it.
* Update CHANGELOG
* Fix test_asgi.test_deprecated_shortcut
2024-02-02 13:29:41 +00:00
Tereza Tomcova
99cba6ac64
Fix RFC 2069 mode digest authentication ( #3045 )
...
* Fix RFC 2069 mode digest authentication
* Update CHANGELOG.md
2024-01-10 10:08:42 +00:00
Kar Petrosyan
1a660147ed
Add missing argument ( #3023 )
...
* Add missing argument
* chaneglog
* changelog
2023-12-28 16:50:43 +04:00
Kar Petrosyan
08eff926a6
Version 0.26.0 ( #3009 )
...
* Version 0.26.0
* Update changelog
* Update CHANGELOG.md
* Add `Deprecated` section
2023-12-20 14:52:22 +04:00
Kar Petrosyan
3b9060ee11
Fix environment proxies ( #2741 )
...
* Add red test
* Make the test pass
* Lint
* chanelog
---------
Co-authored-by: Karen Petrosyan <92274156+karosis88@users.noreply.github.com>
Co-authored-by: Tom Christie <tom@tomchristie.com>
2023-12-14 14:04:04 +00:00
Tom Christie
2c51edd0c0
Update CHANGELOG.md ( #3000 )
2023-12-12 13:44:26 +00:00
Tom Christie
90538a3b46
Ensure that ASGI 'raw_path' does not include query component of URL. ( #2999 )
2023-12-11 15:45:20 +00:00
Kar Petrosyan
f8981f3d12
Add the 'proxy' parameter and deprecate 'proxies'. ( #2879 )
...
* Add the proxy parameter and deprecate proxies
* Make the Client.proxy and HTTPTransport.proxy types the same
* Update httpx/_transports/default.py
Co-authored-by: T-256 <132141463+T-256@users.noreply.github.com>
* Update httpx/_transports/default.py
Co-authored-by: T-256 <132141463+T-256@users.noreply.github.com>
* Drop unneeded noqa
* Changelog
* update documentation
* Allow None in mounts
* typos
* Update httpx/_types.py
* Changes proxies to proxy in CLI app
* Add proxy to request function
* Update CHANGELOG.md
Co-authored-by: Tom Christie <tom@tomchristie.com>
* Update docs/troubleshooting.md
Co-authored-by: Tom Christie <tom@tomchristie.com>
* Update docs/troubleshooting.md
Co-authored-by: Tom Christie <tom@tomchristie.com>
* Lint
---------
Co-authored-by: Tom Christie <tom@tomchristie.com>
Co-authored-by: T-256 <132141463+T-256@users.noreply.github.com>
2023-12-11 17:55:52 +04:00
Tom Christie
b471f01d66
Allow URLs where username or password contains unescaped '@'. ( #2986 )
...
* Add test cases for userinfo in URL
* Resolve failing test cases
* Update CHANGELOG.md
* Update CHANGELOG.md
2023-12-07 10:08:14 +00:00
Kar Petrosyan
cc206cf2da
Version 0.25.2 ( #2957 )
...
* Version 0.25.2
* Update CHANGELOG.md
2023-11-24 16:33:18 +04:00
Petr Belskiy
87f39f12c9
add missing type hints to __init__(...) ( #2938 )
...
* add missing type hints to __init__
https://peps.python.org/pep-0484/
* add info to changelog
* Update CHANGELOG.md
* Update CHANGELOG.md
---------
Co-authored-by: Kar Petrosyan <92274156+karpetrosyan@users.noreply.github.com>
Co-authored-by: Tom Christie <tom@tomchristie.com>
2023-11-17 17:58:51 +04:00
Kar Petrosyan
c51e0466be
Add missing changelog section ( #2943 )
2023-11-17 12:48:27 +00:00
Tom Christie
fbe35add82
Tidy up headers in CHANGELOG.md ( #2925 )
2023-11-03 14:28:37 +00:00
Tom Christie
b07d4e8ce4
Version 0.25.1 ( #2923 )
2023-11-03 13:18:54 +00:00
Paul Schreiber
280a89a4d1
Support newer versions of httpcore ( #2885 )
...
* Support newer versions of httpcore
httpcore 1.0.0 was release October 6, 2023.
* Update pyproject.toml
* Update pyproject.toml
Co-authored-by: Kar Petrosyan <92274156+karpetrosyan@users.noreply.github.com>
* Update pyproject.toml
Co-authored-by: Tom Christie <tom@tomchristie.com>
* Update CHANGELOG.md
---------
Co-authored-by: Tom Christie <tom@tomchristie.com>
Co-authored-by: Kar Petrosyan <92274156+karpetrosyan@users.noreply.github.com>
2023-11-02 14:41:25 +00:00
Hugo van Kemenade
7c9db49f0c
Add support for Python 3.12 ( #2854 )
...
* Add support for Python 3.12
* Bump GitHub Actions
* Remove redundant version checks
* Add CHANGELOG entry
2023-09-21 15:35:56 +01:00
xzmeng
59df8190a4
Raise ValueError on Response.encoding being set after Response.text has been accessed ( #2852 )
...
* Raise ValueError on change encoding
* Always raise ValueError for simplicity
* update CHANGELOG.md
2023-09-19 08:54:32 +01:00
Trim21
c3585a5ccf
Version 0.25.0 ( #2801 )
...
* bump
* Update CHANGELOG.md
* Update CHANGELOG.md
Co-authored-by: Kar Petrosyan <92274156+karosis88@users.noreply.github.com>
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
---------
Co-authored-by: Kar Petrosyan <92274156+karosis88@users.noreply.github.com>
Co-authored-by: Tom Christie <tom@tomchristie.com>
2023-09-11 11:13:24 +01:00
Kar Petrosyan
a54ecccd5b
HTTPS proxies support ( #2845 )
...
* Add ssl_context argument to Proxy class
* Changelog
2023-09-11 10:56:01 +01:00
Kar Petrosyan
adbcd0e0e7
Change extensions type ( #2803 )
...
* Change extensions type
* Update changelog
* install httpcore from the git
* Revert "install httpcore from the git"
This reverts commit 1813c6aff1 .
* bump httpcore version
* fix requirements
---------
Co-authored-by: Tom Christie <tom@tomchristie.com>
2023-09-11 09:29:22 +03:00
Iurii Pliner
b40c04dfa6
Drop support for Python 3.7 ( #2813 )
...
* Drop Python 3.7 support
* Fix lint
* Changelog
2023-08-09 10:02:28 +01:00
Trim21
9415af643f
Make raise_for_status chainable ( #2776 )
...
* merge upstream
* lint
* Update test_async_client.py
* update docs
* add example
* Update docs/quickstart.md
Co-authored-by: Tom Christie <tom@tomchristie.com>
* Update CHANGELOG.md
Co-authored-by: Tom Christie <tom@tomchristie.com>
* Update docs/quickstart.md
Co-authored-by: Tom Christie <tom@tomchristie.com>
---------
Co-authored-by: Tom Christie <tom@tomchristie.com>
2023-08-01 10:22:58 +01:00
Karen Petrosyan
733595037a
Add socket_options argument to httpx.HTTPTransport class ( #2716 )
...
* Add `socket_options` argument to `httpx.HTTPTransport` and `httpx.AsyncHTTPTransport` classes
* Update changelog
* Fix changelog format
* Set httpcore's minimum version to 0.17.2
* Remove SOCKET_OPTIONS import
2023-05-24 11:42:39 +03:00
Nik
a682f6f1c7
Fix exception suppression in asgi transport ( #2669 )
2023-05-21 01:17:23 +01:00
Peter Lazorchak
f9abbbbb48
Update changelog with WSGITransport SERVER_PROTOCOL fix ( #2711 )
2023-05-19 18:18:00 +01:00
epenet
fcf1bc73db
Version 0.24.1 ( #2702 )
...
* Version 0.24.1
* Update CHANGELOG.md
* Update CHANGELOG.md
2023-05-18 12:03:21 +01:00