]> git.ipfire.org Git - thirdparty/httpx.git/log
thirdparty/httpx.git
2 weeks agoBump the python-packages group across 1 directory with 9 updates dependabot/pip/python-packages-85fe1c1c98 3753/head
dependabot[bot] [Sun, 1 Feb 2026 16:43:52 +0000 (16:43 +0000)] 
Bump the python-packages group across 1 directory with 9 updates

Bumps the python-packages group with 9 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.6.18` | `9.7.1` |
| [build](https://github.com/pypa/build) | `1.3.0` | `1.4.0` |
| [twine](https://github.com/pypa/twine) | `6.1.0` | `6.2.0` |
| [coverage[toml]](https://github.com/coveragepy/coveragepy) | `7.10.6` | `7.10.7` |
| [cryptography](https://github.com/pyca/cryptography) | `45.0.7` | `46.0.4` |
| [mypy](https://github.com/python/mypy) | `1.17.1` | `1.19.1` |
| [pytest](https://github.com/pytest-dev/pytest) | `8.4.1` | `8.4.2` |
| [ruff](https://github.com/astral-sh/ruff) | `0.12.11` | `0.14.14` |
| [uvicorn](https://github.com/Kludex/uvicorn) | `0.35.0` | `0.39.0` |

Updates `mkdocs-material` from 9.6.18 to 9.7.1
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.6.18...9.7.1)

Updates `build` from 1.3.0 to 1.4.0
- [Release notes](https://github.com/pypa/build/releases)
- [Changelog](https://github.com/pypa/build/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pypa/build/compare/1.3.0...1.4.0)

Updates `twine` from 6.1.0 to 6.2.0
- [Release notes](https://github.com/pypa/twine/releases)
- [Changelog](https://github.com/pypa/twine/blob/main/docs/changelog.rst)
- [Commits](https://github.com/pypa/twine/compare/6.1.0...6.2.0)

Updates `coverage[toml]` from 7.10.6 to 7.10.7
- [Release notes](https://github.com/coveragepy/coveragepy/releases)
- [Changelog](https://github.com/coveragepy/coveragepy/blob/main/CHANGES.rst)
- [Commits](https://github.com/coveragepy/coveragepy/compare/7.10.6...7.10.7)

Updates `cryptography` from 45.0.7 to 46.0.4
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/45.0.7...46.0.4)

Updates `mypy` from 1.17.1 to 1.19.1
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.17.1...v1.19.1)

Updates `pytest` from 8.4.1 to 8.4.2
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.4.1...8.4.2)

Updates `ruff` from 0.12.11 to 0.14.14
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.12.11...0.14.14)

Updates `uvicorn` from 0.35.0 to 0.39.0
- [Release notes](https://github.com/Kludex/uvicorn/releases)
- [Changelog](https://github.com/Kludex/uvicorn/blob/main/docs/release-notes.md)
- [Commits](https://github.com/Kludex/uvicorn/compare/0.35.0...0.39.0)

---
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-version: 9.7.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: build
  dependency-version: 1.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: twine
  dependency-version: 6.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: coverage[toml]
  dependency-version: 7.10.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: cryptography
  dependency-version: 46.0.4
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: python-packages
- dependency-name: mypy
  dependency-version: 1.19.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: pytest
  dependency-version: 8.4.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: ruff
  dependency-version: 0.14.14
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: uvicorn
  dependency-version: 0.39.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
...

Signed-off-by: dependabot[bot] <support@github.com>
2 months agoExpose `FunctionAuth` in `__all__` (#3699) master
Josh Cannon [Wed, 10 Dec 2025 14:58:48 +0000 (08:58 -0600)] 
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>
2 months agodocs/ssl: fix typo (#3703)
Riccardo Magliocchetti [Wed, 10 Dec 2025 14:47:31 +0000 (15:47 +0100)] 
docs/ssl: fix typo (#3703)

4 months agoFixed a syntax error in the file upload example (#3692)
ZProger [Thu, 16 Oct 2025 09:04:38 +0000 (11:04 +0200)] 
Fixed a syntax error in the file upload example (#3692)

4 months agoBump actions/setup-python from 5 to 6 (#3677)
dependabot[bot] [Sat, 4 Oct 2025 17:38:23 +0000 (18:38 +0100)] 
Bump actions/setup-python from 5 to 6 (#3677)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 months agoUpdate dependencies (#3665)
Kim Christie [Tue, 16 Sep 2025 13:23:31 +0000 (14:23 +0100)] 
Update dependencies (#3665)

5 months agoDocumentation for SSL_CERT_FILE and SSL_CERT_DIR (#3579)
Tobias Fischer [Thu, 11 Sep 2025 10:59:20 +0000 (10:59 +0000)] 
Documentation for SSL_CERT_FILE and SSL_CERT_DIR (#3579)

Co-authored-by: Kim Christie <tom@tomchristie.com>
5 months ago[docs] Remove load_ssl_context & load_verify_locations DEBUG log (#3589)
nikkie [Fri, 5 Sep 2025 14:30:31 +0000 (23:30 +0900)] 
[docs] Remove load_ssl_context & load_verify_locations DEBUG log (#3589)

Co-authored-by: Kim Christie <tom@tomchristie.com>
5 months agoUpdate compatibility.md with documentation of exceptions differences (#3649)
Glen Keane [Fri, 5 Sep 2025 14:19:37 +0000 (15:19 +0100)] 
Update compatibility.md with documentation of exceptions differences (#3649)

Co-authored-by: Kim Christie <tom@tomchristie.com>
5 months agoBump the python-packages group across 1 directory with 10 updates (#3658)
dependabot[bot] [Thu, 4 Sep 2025 14:29:43 +0000 (15:29 +0100)] 
Bump the python-packages group across 1 directory with 10 updates (#3658)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 months agoUpgrade Python type checker mypy (#3654)
Christian Clauss [Thu, 4 Sep 2025 13:48:49 +0000 (15:48 +0200)] 
Upgrade Python type checker mypy (#3654)

5 months agoAdd `httpx-secure` to third party packages (#3629)
Kamil Monicz [Thu, 4 Sep 2025 08:52:37 +0000 (10:52 +0200)] 
Add `httpx-secure` to third party packages (#3629)

Co-authored-by: Kim Christie <tom@tomchristie.com>
5 months agoUpgrade Python formatter ruff (#3651)
Christian Clauss [Wed, 3 Sep 2025 11:17:26 +0000 (13:17 +0200)] 
Upgrade Python formatter ruff (#3651)

6 months agochore: update sponsorship graphic (#3620)
Chai Landau [Thu, 7 Aug 2025 13:52:25 +0000 (09:52 -0400)] 
chore: update sponsorship graphic (#3620)

7 months agoDrop Python 3.8 support (#3592)
Alex Grönholm [Fri, 27 Jun 2025 10:45:12 +0000 (13:45 +0300)] 
Drop Python 3.8 support (#3592)

8 months agoDisplay proxy protocol scheme on error (#3571)
Emmanuel Ferdman [Mon, 2 Jun 2025 19:29:52 +0000 (22:29 +0300)] 
Display proxy protocol scheme on error (#3571)

9 months agoAdd httpx-retries to third party packages docs (#3552)
Will Ockmore [Fri, 2 May 2025 11:24:26 +0000 (12:24 +0100)] 
Add httpx-retries to third party packages docs (#3552)

11 months agoDocs: Add `httpx.Proxy` to api.md (#3512)
mv-python [Wed, 5 Mar 2025 12:52:58 +0000 (13:52 +0100)] 
Docs: Add `httpx.Proxy` to api.md (#3512)

11 months agoAdd `httpdbg` to third party packages. (#3327)
T-256 [Thu, 27 Feb 2025 17:43:26 +0000 (21:13 +0330)] 
Add `httpdbg` to third party packages. (#3327)

Co-authored-by: Kar Petrosyan <92274156+karpetrosyan@users.noreply.github.com>
11 months agofix typo (#3519)
Kar Petrosyan [Thu, 27 Feb 2025 16:38:39 +0000 (20:38 +0400)] 
fix typo (#3519)

12 months agoSharper CHANGELOG entry. (#3448)
Tom Christie [Fri, 14 Feb 2025 14:52:54 +0000 (14:52 +0000)] 
Sharper CHANGELOG entry. (#3448)

12 months agoBump cryptography from 44.0.0 to 44.0.1 (#3499)
dependabot[bot] [Wed, 12 Feb 2025 11:25:05 +0000 (11:25 +0000)] 
Bump cryptography from 44.0.0 to 44.0.1 (#3499)

13 months agodocs: Use `with` to open files in multipart examples (#3478)
Bazyli Cyran [Fri, 17 Jan 2025 10:56:46 +0000 (11:56 +0100)] 
docs: Use `with` to open files in multipart examples (#3478)

13 months agoAdd support for Python 3.13 (#3460)
Hugo van Kemenade [Mon, 23 Dec 2024 21:50:57 +0000 (23:50 +0200)] 
Add support for Python 3.13 (#3460)

14 months agoVersion 0.28.1 (#3445) 0.28.1
Tom Christie [Fri, 6 Dec 2024 15:35:41 +0000 (15:35 +0000)] 
Version 0.28.1 (#3445)

14 months agoFix `verify=False`, `cert=...` case. (#3442)
Tom Christie [Wed, 4 Dec 2024 11:29:09 +0000 (11:29 +0000)] 
Fix `verify=False`, `cert=...` case. (#3442)

14 months agoAdd test for request params behavior changes (#3364) (#3440)
Elaina [Tue, 3 Dec 2024 16:12:27 +0000 (00:12 +0800)] 
Add test for request params behavior changes (#3364) (#3440)

Co-authored-by: Tom Christie <tom@tomchristie.com>
14 months agoBump the python-packages group with 11 updates (#3434)
dependabot[bot] [Tue, 3 Dec 2024 07:37:45 +0000 (08:37 +0100)] 
Bump the python-packages group with 11 updates (#3434)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
14 months agoUpdating deprecated docstring Client() class (#3426)
Daniel Arvelini [Fri, 29 Nov 2024 11:15:56 +0000 (08:15 -0300)] 
Updating deprecated docstring Client() class (#3426)

14 months agoVersion 0.28.0. (#3419) 0.28.0
Tom Christie [Thu, 28 Nov 2024 14:50:04 +0000 (14:50 +0000)] 
Version 0.28.0. (#3419)

14 months agoFix `extensions` type annotation. (#3380)
Tom Christie [Thu, 28 Nov 2024 13:31:17 +0000 (13:31 +0000)] 
Fix `extensions` type annotation. (#3380)

14 months agoError on verify as str. (#3418)
Tom Christie [Thu, 28 Nov 2024 11:46:59 +0000 (11:46 +0000)] 
Error on verify as str. (#3418)

14 months agoHandle empty zstd responses (#3412)
Tom Christie [Fri, 22 Nov 2024 11:42:51 +0000 (11:42 +0000)] 
Handle empty zstd responses (#3412)

14 months agoUpdate CHANGELOG.md, fix typo(s) (#3406)
Bob Conan [Wed, 20 Nov 2024 12:27:29 +0000 (06:27 -0600)] 
Update CHANGELOG.md, fix typo(s) (#3406)

15 months agoMove utility functions from _utils.py to _client.py (#3389)
RafaelWO [Fri, 15 Nov 2024 11:42:52 +0000 (12:42 +0100)] 
Move utility functions from _utils.py to _client.py (#3389)

15 months agoAvoid private imports in test cases. (#3403)
Tom Christie [Fri, 15 Nov 2024 10:26:56 +0000 (10:26 +0000)] 
Avoid private imports in test cases. (#3403)

15 months agoImport ssl on demand (#3401)
Tom Christie [Fri, 15 Nov 2024 10:17:42 +0000 (10:17 +0000)] 
Import ssl on demand (#3401)

15 months agoGraceful upgrade path for 0.28. (#3394)
Tom Christie [Tue, 12 Nov 2024 11:31:42 +0000 (11:31 +0000)] 
Graceful upgrade path for 0.28. (#3394)

15 months agoMove remaining utility functions from _utils.py to _models.py (#3387)
RafaelWO [Fri, 1 Nov 2024 19:20:18 +0000 (20:20 +0100)] 
Move remaining utility functions from _utils.py to _models.py  (#3387)

15 months agoMove utility functions from _utils.py to _multipart.py (#3388)
RafaelWO [Fri, 1 Nov 2024 12:54:13 +0000 (13:54 +0100)] 
Move utility functions from _utils.py to _multipart.py (#3388)

15 months agoMove normalize header functions from _utils.py to _models.py (#3382)
Mayank Sinha [Wed, 30 Oct 2024 17:12:21 +0000 (22:42 +0530)] 
Move normalize header functions from _utils.py to _models.py (#3382)

15 months agoCleanup `Request` method parameter. (#3378)
Tom Christie [Tue, 29 Oct 2024 15:31:31 +0000 (15:31 +0000)] 
Cleanup `Request` method parameter. (#3378)

15 months agoadd socks5h proxy support (#3178)
Bin Liu [Tue, 29 Oct 2024 14:10:33 +0000 (22:10 +0800)] 
add socks5h proxy support (#3178)

Signed-off-by: bin liu <liubin0329@gmail.com>
Co-authored-by: Tom Christie <tom@tomchristie.com>
15 months agomade dependencies on certifi and httpcore only load when required (#3377)
Joe Marshall [Tue, 29 Oct 2024 13:18:39 +0000 (13:18 +0000)] 
made dependencies on certifi and httpcore only load when required (#3377)

Co-authored-by: Tom Christie <tom@tomchristie.com>
15 months agoCleanup unneccessary test case (#3375)
Tom Christie [Mon, 28 Oct 2024 17:38:33 +0000 (17:38 +0000)] 
Cleanup unneccessary test case (#3375)

15 months agoJust use default `safe=...` characters for `urlescape` (#3376)
Tom Christie [Mon, 28 Oct 2024 17:38:16 +0000 (17:38 +0000)] 
Just use default `safe=...` characters for `urlescape` (#3376)

15 months agoUpdate CHANGELOG.md (#3374)
Tom Christie [Mon, 28 Oct 2024 16:23:45 +0000 (16:23 +0000)] 
Update CHANGELOG.md (#3374)

15 months agoReview urlescape percent-safe set, and use + behavior for form spaces. (#3373)
Tom Christie [Mon, 28 Oct 2024 16:19:59 +0000 (16:19 +0000)] 
Review urlescape percent-safe set, and use + behavior for form spaces. (#3373)

15 months agoReview URL percent escaping sets, from whatwg. (#3371)
Tom Christie [Mon, 28 Oct 2024 15:06:10 +0000 (15:06 +0000)] 
Review URL percent escaping sets, from whatwg. (#3371)

15 months agoUpdate CHANGELOG.md (#3372)
Tom Christie [Mon, 28 Oct 2024 14:43:24 +0000 (14:43 +0000)] 
Update CHANGELOG.md (#3372)

15 months agoEnsure JSON representation is compact. #3363 (#3367)
BERRADA-Omar [Mon, 28 Oct 2024 14:40:22 +0000 (15:40 +0100)] 
Ensure JSON representation is compact. #3363 (#3367)

Co-authored-by: Tom Christie <tom@tomchristie.com>
15 months agoIntroduce new `SSLContext` API & escalate deprecations. (#3319)
Tom Christie [Mon, 28 Oct 2024 14:30:08 +0000 (14:30 +0000)] 
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>
15 months agoConcise URL instantiation. (#3364)
Tom Christie [Fri, 25 Oct 2024 13:27:54 +0000 (14:27 +0100)] 
Concise URL instantiation. (#3364)

15 months agotypo: Reading a response expose response text, not request text (#3359)
Colin Bounouar [Wed, 23 Oct 2024 19:06:45 +0000 (21:06 +0200)] 
typo: Reading a response expose response text, not request text (#3359)

16 months agoBump the python-packages group with 5 updates (#3329)
dependabot[bot] [Tue, 1 Oct 2024 17:05:20 +0000 (18:05 +0100)] 
Bump the python-packages group with 5 updates (#3329)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
16 months agoAdd `httpx-ws` to third party packages. (#3325)
T-256 [Fri, 27 Sep 2024 15:41:16 +0000 (19:11 +0330)] 
Add `httpx-ws` to third party packages. (#3325)

Co-authored-by: Tom Christie <tom@tomchristie.com>
16 months agoAdd `httpx-socks` to third party packages. (#3326)
T-256 [Fri, 27 Sep 2024 15:36:34 +0000 (19:06 +0330)] 
Add `httpx-socks` to third party packages. (#3326)

16 months agoClarified error when header value is None (#3312)
Polina Beskorovainaia [Thu, 26 Sep 2024 17:01:47 +0000 (20:01 +0300)] 
Clarified error when header value is None (#3312)

Co-authored-by: Zanie Blue <contact@zanie.dev>
16 months agoEnable TestSuite for PRs to version branches. (#3318)
Tom Christie [Tue, 24 Sep 2024 16:21:56 +0000 (17:21 +0100)] 
Enable TestSuite for PRs to version branches. (#3318)

16 months agoRevert "Removed leading $ from cli code blocks" (#3192)
Tom Christie [Sun, 22 Sep 2024 20:16:32 +0000 (21:16 +0100)] 
Revert "Removed leading $ from cli code blocks" (#3192)

Co-authored-by: Kar Petrosyan <92274156+karpetrosyan@users.noreply.github.com>
17 months agoAdd speakeasy sponsorship (#3305)
Tom Christie [Tue, 17 Sep 2024 10:31:15 +0000 (11:31 +0100)] 
Add speakeasy sponsorship (#3305)

17 months agoBump cryptography from 43.0.0 to 43.0.1 (#3295)
dependabot[bot] [Wed, 4 Sep 2024 12:24:25 +0000 (13:24 +0100)] 
Bump cryptography from 43.0.0 to 43.0.1 (#3295)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
17 months agoBump the python-packages group across 1 directory with 8 updates (#3292)
dependabot[bot] [Sun, 1 Sep 2024 17:45:24 +0000 (18:45 +0100)] 
Bump the python-packages group across 1 directory with 8 updates (#3292)

17 months agoReintroduce `URLTypes`. (#3288) 0.27.2
Tom Christie [Tue, 27 Aug 2024 12:52:05 +0000 (13:52 +0100)] 
Reintroduce `URLTypes`. (#3288)

17 months agoUpdate CHANGELOG for 0.27.1 release date. (#3285) 0.27.1
Tom Christie [Tue, 27 Aug 2024 11:27:08 +0000 (12:27 +0100)] 
Update CHANGELOG for 0.27.1 release date. (#3285)

17 months agoVersion 0.27.1 (#3275)
Michiel W. Beijen [Thu, 22 Aug 2024 15:03:23 +0000 (17:03 +0200)] 
Version 0.27.1 (#3275)

18 months agoImprove InvalidURL error message. (#3250)
Tom Christie [Fri, 26 Jul 2024 08:36:03 +0000 (09:36 +0100)] 
Improve InvalidURL error message. (#3250)

18 months agoBump the python-packages group across 1 directory with 8 updates (#3247)
dependabot[bot] [Tue, 23 Jul 2024 14:54:34 +0000 (15:54 +0100)] 
Bump the python-packages group across 1 directory with 8 updates (#3247)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Christie <tom@tomchristie.com>
18 months agoClean up URL signature. (#3245)
Tom Christie [Tue, 23 Jul 2024 14:46:47 +0000 (15:46 +0100)] 
Clean up URL signature. (#3245)

18 months agoUpdate requirements.txt (#3246)
Tom Christie [Tue, 23 Jul 2024 14:43:47 +0000 (15:43 +0100)] 
Update requirements.txt (#3246)

20 months agoAdd URL parsing tests from WHATWG (#3188)
Tom Christie [Thu, 13 Jun 2024 13:46:36 +0000 (14:46 +0100)] 
Add URL parsing tests from WHATWG (#3188)

Co-authored-by: Kar Petrosyan <92274156+karpetrosyan@users.noreply.github.com>
20 months agoUpdate asgi.py docstring (#3210)
Michael Feil [Thu, 6 Jun 2024 15:36:07 +0000 (08:36 -0700)] 
Update asgi.py docstring (#3210)

Co-authored-by: Tom Christie <tom@tomchristie.com>
20 months agoBump the python-packages group with 8 updates (#3213)
dependabot[bot] [Mon, 3 Jun 2024 10:38:14 +0000 (11:38 +0100)] 
Bump the python-packages group with 8 updates (#3213)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
21 months agoFast path returns for normalize_path cases (#3189)
Tom Christie [Fri, 17 May 2024 17:25:38 +0000 (18:25 +0100)] 
Fast path returns for normalize_path cases (#3189)

Co-authored-by: Kar Petrosyan <92274156+karpetrosyan@users.noreply.github.com>
21 months ago[fix] Use proxy ssl context consistently (#3175)
manav-a [Fri, 10 May 2024 10:42:50 +0000 (03:42 -0700)] 
[fix] Use proxy ssl context consistently (#3175)

Co-authored-by: Kar Petrosyan <92274156+karpetrosyan@users.noreply.github.com>
21 months agoRemoved leading $ from cli code blocks (#3174)
Shiny [Sun, 5 May 2024 16:24:16 +0000 (00:24 +0800)] 
Removed leading $ from cli code blocks (#3174)

Co-authored-by: Tom Christie <tom@tomchristie.com>
21 months agoResolve queryparam quoting (#3187)
Tom Christie [Fri, 3 May 2024 00:09:08 +0000 (01:09 +0100)] 
Resolve queryparam quoting (#3187)

21 months agoFix doc links for making requests directly to WSGI/ASGI apps (#3186)
Kien Dang [Thu, 2 May 2024 10:07:09 +0000 (18:07 +0800)] 
Fix doc links for making requests directly to WSGI/ASGI apps (#3186)

21 months agoBump the python-packages group with 6 updates (#3185)
dependabot[bot] [Wed, 1 May 2024 16:56:17 +0000 (17:56 +0100)] 
Bump the python-packages group with 6 updates (#3185)

22 months agoDocs: fix small typos in Extensions doc (#3138)
Michiel W. Beijen [Fri, 12 Apr 2024 06:11:12 +0000 (08:11 +0200)] 
Docs: fix small typos in Extensions doc (#3138)

Co-authored-by: Tom Christie <tom@tomchristie.com>
22 months agoBump the python-packages group with 8 updates (#3156)
dependabot[bot] [Tue, 9 Apr 2024 20:38:43 +0000 (21:38 +0100)] 
Bump the python-packages group with 8 updates (#3156)

22 months agoUpdate URL.__init__ signature (#3159)
Hugo Cachitas [Sat, 6 Apr 2024 11:55:26 +0000 (12:55 +0100)] 
Update URL.__init__ signature (#3159)

22 months agoDocument 'target' extension (#3160)
Tom Christie [Sat, 6 Apr 2024 06:30:16 +0000 (08:30 +0200)] 
Document 'target' extension (#3160)

22 months agoAdd support for zstd decoding (#3139)
Michiel W. Beijen [Thu, 21 Mar 2024 10:17:15 +0000 (11:17 +0100)] 
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>
23 months agoBump the python-packages group with 8 updates (#3129) 2894/head
dependabot[bot] [Fri, 1 Mar 2024 20:05:55 +0000 (20:05 +0000)] 
Bump the python-packages group with 8 updates (#3129)

Bumps the python-packages group with 8 updates:

| Package | From | To |
| --- | --- | --- |
| [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.5.6` | `9.5.12` |
| [build](https://github.com/pypa/build) | `1.0.3` | `1.1.1` |
| [twine](https://github.com/pypa/twine) | `4.0.2` | `5.0.0` |
| [coverage[toml]](https://github.com/nedbat/coveragepy) | `7.4.1` | `7.4.3` |
| [cryptography](https://github.com/pyca/cryptography) | `42.0.4` | `42.0.5` |
| [pytest](https://github.com/pytest-dev/pytest) | `8.0.0` | `8.0.2` |
| [ruff](https://github.com/astral-sh/ruff) | `0.1.15` | `0.3.0` |
| [uvicorn](https://github.com/encode/uvicorn) | `0.27.0.post1` | `0.27.1` |

Updates `mkdocs-material` from 9.5.6 to 9.5.12
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.5.6...9.5.12)

Updates `build` from 1.0.3 to 1.1.1
- [Release notes](https://github.com/pypa/build/releases)
- [Changelog](https://github.com/pypa/build/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pypa/build/compare/1.0.3...1.1.1)

Updates `twine` from 4.0.2 to 5.0.0
- [Release notes](https://github.com/pypa/twine/releases)
- [Changelog](https://github.com/pypa/twine/blob/main/docs/changelog.rst)
- [Commits](https://github.com/pypa/twine/compare/4.0.2...5.0.0)

Updates `coverage[toml]` from 7.4.1 to 7.4.3
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/7.4.1...7.4.3)

Updates `cryptography` from 42.0.4 to 42.0.5
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/42.0.4...42.0.5)

Updates `pytest` from 8.0.0 to 8.0.2
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.0.0...8.0.2)

Updates `ruff` from 0.1.15 to 0.3.0
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.1.15...v0.3.0)

Updates `uvicorn` from 0.27.0.post1 to 0.27.1
- [Release notes](https://github.com/encode/uvicorn/releases)
- [Changelog](https://github.com/encode/uvicorn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/encode/uvicorn/compare/0.27.0.post1...0.27.1)

---
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: build
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: twine
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: python-packages
- dependency-name: coverage[toml]
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: cryptography
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: uvicorn
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-packages
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Christie <tom@tomchristie.com>
23 months agoformat (#3131)
T-256 [Fri, 1 Mar 2024 19:49:23 +0000 (23:19 +0330)] 
format (#3131)

Co-authored-by: T-256 <Tester@test.com>
23 months agoKeep clients in sync (#3120)
Kar Petrosyan [Thu, 29 Feb 2024 13:40:07 +0000 (08:40 -0500)] 
Keep clients in sync (#3120)

Co-authored-by: Tom Christie <tom@tomchristie.com>
23 months agoDelete `README_chinese.md` (#3122)
Tom Christie [Thu, 29 Feb 2024 11:42:17 +0000 (11:42 +0000)] 
Delete `README_chinese.md` (#3122)

Discussed in https://github.com/encode/httpx/discussions/3024

Having translated versions for our users is friendly, but we're not doing this in a consistent way.

23 months agoFix broken links in docs/contributing.md and CHANGELOG.md (#3124)
Nick Cameron [Thu, 29 Feb 2024 11:11:43 +0000 (06:11 -0500)] 
Fix broken links in docs/contributing.md and CHANGELOG.md (#3124)

23 months agoUpdate /advanced/#<anchor> links -> /advanced/clients/#<anchor> (#3123)
Nick Cameron [Wed, 28 Feb 2024 18:13:23 +0000 (13:13 -0500)] 
Update /advanced/#<anchor> links -> /advanced/clients/#<anchor> (#3123)

23 months agoFix client.send() timeout new Request instance (#3116)
Alex [Mon, 26 Feb 2024 16:36:58 +0000 (17:36 +0100)] 
Fix client.send() timeout new Request instance (#3116)

23 months agofix docs basic authentication typo (#3112)
akgnah [Fri, 23 Feb 2024 14:33:15 +0000 (22:33 +0800)] 
fix docs basic authentication typo (#3112)

Signed-off-by: akgnah <1024@setq.me>
Co-authored-by: Tom Christie <tom@tomchristie.com>
23 months agotest `same_origin` via public api (#3062)
T-256 [Fri, 23 Feb 2024 14:16:03 +0000 (17:46 +0330)] 
test `same_origin` via public api (#3062)

Co-authored-by: Tom Christie <tom@tomchristie.com>
23 months agotest `is_https_redirect` via public api (#3064)
T-256 [Fri, 23 Feb 2024 14:11:43 +0000 (17:41 +0330)] 
test `is_https_redirect` via public api (#3064)

* test `is_https_redirect` via public api

* Update tests/test_utils.py

23 months agoUse more permissible types in ASGIApp (#3109)
Jon Finerty [Fri, 23 Feb 2024 13:36:45 +0000 (13:36 +0000)] 
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>
23 months agoDefine and expose the API from the same place (#3106)
Kar Petrosyan [Fri, 23 Feb 2024 12:30:05 +0000 (16:30 +0400)] 
Define and expose the API from the same place (#3106)

* Tidy up imports

* Update tests/test_exported_members.py

---------

Co-authored-by: Tom Christie <tom@tomchristie.com>
23 months agoBump cryptography from 42.0.2 to 42.0.4 (#3107)
dependabot[bot] [Thu, 22 Feb 2024 14:52:20 +0000 (14:52 +0000)] 
Bump cryptography from 42.0.2 to 42.0.4 (#3107)

Bumps [cryptography](https://github.com/pyca/cryptography) from 42.0.2 to 42.0.4.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/42.0.2...42.0.4)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
23 months agoVersion 0.27.0 (#3095) 0.27.0
Tom Christie [Wed, 21 Feb 2024 13:06:19 +0000 (13:06 +0000)] 
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>
2 years agoImprove 'Custom transports' docs (#3081)
Tom Christie [Wed, 14 Feb 2024 11:14:02 +0000 (11:14 +0000)] 
Improve 'Custom transports' docs (#3081)

2 years agoExtensions docs (#3080)
Tom Christie [Tue, 6 Feb 2024 10:40:35 +0000 (11:40 +0100)] 
Extensions docs (#3080)

* 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

* Extensions docs

* Include 'extensions' in docs index

* Update docs/advanced/extensions.md

Co-authored-by: Kar Petrosyan <92274156+karpetrosyan@users.noreply.github.com>
---------

Co-authored-by: Kar Petrosyan <92274156+karpetrosyan@users.noreply.github.com>