Tom Christie
d4961b9f8e
Add speakeasy sponsorship ( #3305 )
2024-09-17 11:31:15 +01:00
dependabot[bot]
0aa20e449e
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>
2024-09-04 13:24:25 +01:00
dependabot[bot]
d46fa57a6a
Bump the python-packages group across 1 directory with 8 updates ( #3292 )
2024-09-01 18:45:24 +01: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
dependabot[bot]
beb501fc28
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>
2024-07-23 15:54:34 +01:00
Tom Christie
359f77d4f6
Clean up URL signature. ( #3245 )
2024-07-23 15:46:47 +01:00
Tom Christie
b351a44fb6
Update requirements.txt ( #3246 )
2024-07-23 15:43:47 +01:00
Tom Christie
db9072f998
Add URL parsing tests from WHATWG ( #3188 )
...
Co-authored-by: Kar Petrosyan <92274156+karpetrosyan@users.noreply.github.com>
2024-06-13 14:46:36 +01:00
Michael Feil
92e9dfb399
Update asgi.py docstring ( #3210 )
...
Co-authored-by: Tom Christie <tom@tomchristie.com>
2024-06-06 16:36:07 +01:00
dependabot[bot]
e186ecc9f8
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>
2024-06-03 11:38:14 +01:00
Tom Christie
37593c1952
Fast path returns for normalize_path cases ( #3189 )
...
Co-authored-by: Kar Petrosyan <92274156+karpetrosyan@users.noreply.github.com>
2024-05-17 18:25:38 +01:00
manav-a
88a81c5d31
[fix] Use proxy ssl context consistently ( #3175 )
...
Co-authored-by: Kar Petrosyan <92274156+karpetrosyan@users.noreply.github.com>
2024-05-10 06:42:50 -04:00
Shiny
fa6dac8383
Removed leading $ from cli code blocks ( #3174 )
...
Co-authored-by: Tom Christie <tom@tomchristie.com>
2024-05-05 17:24:16 +01:00
Tom Christie
a7092af2fd
Resolve queryparam quoting ( #3187 )
2024-05-03 01:09:08 +01:00
Kien Dang
be56b74735
Fix doc links for making requests directly to WSGI/ASGI apps ( #3186 )
2024-05-02 11:07:09 +01:00
dependabot[bot]
2f5ae50726
Bump the python-packages group with 6 updates ( #3185 )
2024-05-01 17:56:17 +01:00
Michiel W. Beijen
4b85e6c389
Docs: fix small typos in Extensions doc ( #3138 )
...
Co-authored-by: Tom Christie <tom@tomchristie.com>
2024-04-12 07:11:12 +01:00
dependabot[bot]
7354ed70ce
Bump the python-packages group with 8 updates ( #3156 )
2024-04-09 21:38:43 +01:00
Hugo Cachitas
5bb2ea0f4e
Update URL.__init__ signature ( #3159 )
2024-04-06 13:55:26 +02:00
Tom Christie
45bb65bba1
Document 'target' extension ( #3160 )
2024-04-06 08:30:16 +02: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
dependabot[bot]
7df47ce4d9
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>
2024-03-01 20:05:55 +00:00
T-256
0006ed0547
format ( #3131 )
...
Co-authored-by: T-256 <Tester@test.com>
2024-03-01 19:49:23 +00:00
Kar Petrosyan
f3eb3c90fd
Keep clients in sync ( #3120 )
...
Co-authored-by: Tom Christie <tom@tomchristie.com>
2024-02-29 13:40:07 +00:00
Tom Christie
7e10342c2a
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.
2024-02-29 04:42:17 -07:00
Nick Cameron
4941b40cbb
Fix broken links in docs/contributing.md and CHANGELOG.md ( #3124 )
2024-02-29 11:11:43 +00:00
Nick Cameron
6045186f7d
Update /advanced/#<anchor> links -> /advanced/clients/#<anchor> ( #3123 )
2024-02-28 18:13:23 +00:00
Alex
6d852d319a
Fix client.send() timeout new Request instance ( #3116 )
2024-02-26 16:36:58 +00:00
akgnah
df5345140e
fix docs basic authentication typo ( #3112 )
...
Signed-off-by: akgnah <1024@setq.me>
Co-authored-by: Tom Christie <tom@tomchristie.com>
2024-02-23 14:33:15 +00:00
T-256
fc84f7f6eb
test same_origin via public api ( #3062 )
...
Co-authored-by: Tom Christie <tom@tomchristie.com>
2024-02-23 14:16:03 +00:00
T-256
e745060c75
test is_https_redirect via public api ( #3064 )
...
* test `is_https_redirect` via public api
* Update tests/test_utils.py
2024-02-23 14: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
Kar Petrosyan
87713d2172
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>
2024-02-23 12:30:05 +00:00
dependabot[bot]
77cb36f181
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>
2024-02-22 14:52:20 +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
3faa4a8f2e
Improve 'Custom transports' docs ( #3081 )
2024-02-14 11:14:02 +00:00
Tom Christie
c51af4ba52
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>
2024-02-06 11:40:35 +01: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
dependabot[bot]
6f461522a5
Bump the python-packages group with 6 updates ( #3077 )
...
Bumps the python-packages group with 6 updates:
| Package | From | To |
| --- | --- | --- |
| [mkdocs-material](https://github.com/squidfunk/mkdocs-material ) | `9.5.3` | `9.5.6` |
| [coverage[toml]](https://github.com/nedbat/coveragepy ) | `7.4.0` | `7.4.1` |
| [cryptography](https://github.com/pyca/cryptography ) | `41.0.7` | `42.0.2` |
| [pytest](https://github.com/pytest-dev/pytest ) | `7.4.4` | `8.0.0` |
| [ruff](https://github.com/astral-sh/ruff ) | `0.1.13` | `0.1.15` |
| [uvicorn](https://github.com/encode/uvicorn ) | `0.25.0` | `0.27.0.post1` |
Updates `mkdocs-material` from 9.5.3 to 9.5.6
- [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.3...9.5.6 )
Updates `coverage[toml]` from 7.4.0 to 7.4.1
- [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.0...7.4.1 )
Updates `cryptography` from 41.0.7 to 42.0.2
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pyca/cryptography/compare/41.0.7...42.0.2 )
Updates `pytest` from 7.4.4 to 8.0.0
- [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/7.4.4...8.0.0 )
Updates `ruff` from 0.1.13 to 0.1.15
- [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.13...v0.1.15 )
Updates `uvicorn` from 0.25.0 to 0.27.0.post1
- [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.25.0...0.27.0.post1 )
---
updated-dependencies:
- dependency-name: mkdocs-material
dependency-type: direct:production
update-type: version-update:semver-patch
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-major
dependency-group: python-packages
- dependency-name: pytest
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: python-packages
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: python-packages
- dependency-name: uvicorn
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: python-packages
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-01 16:19:47 +00:00
Richie B2B
37a2901af3
Mention NO_PROXY environment variable on Advanced Usage page ( #3066 )
...
Co-authored-by: Kar Petrosyan <92274156+karpetrosyan@users.noreply.github.com>
2024-01-30 11:01:56 +04:00
Kar Petrosyan
371b6e946c
Use __future__.annotations ( #3068 )
...
* Switch to new typing style
* lint
2024-01-24 14:30:22 +00:00
T-256
4f6edf36e9
test parse_header_links via public api ( #3061 )
...
* test `parse_header_links` via public api
* add no-link test
* Update tests/test_utils.py
---------
Co-authored-by: Tom Christie <tom@tomchristie.com>
2024-01-16 10:25:02 +00:00
T-256
c7cd6aa5bd
test obfuscate_sensitive_headers via public api ( #3063 )
2024-01-16 09:53:23 +00:00
Tom Christie
15f925336c
Drop outdated section ( #3057 )
2024-01-15 13:01:04 +00:00
Nyakku Shigure
d76607b112
Adding an indent to fix wrong rendering in warning block ( #3056 )
2024-01-15 12:30:09 +00:00
Kar Petrosyan
73e688875a
Fix sections references ( #3058 )
2024-01-15 11:15:31 +00:00
dependabot[bot]
419d3a9d80
Bump the python-packages group with 3 updates ( #3055 )
...
Bumps the python-packages group with 3 updates: [ruff](https://github.com/astral-sh/ruff ), [trio](https://github.com/python-trio/trio ) and [uvicorn](https://github.com/encode/uvicorn ).
Updates `ruff` from 0.1.9 to 0.1.13
- [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.9...v0.1.13 )
Updates `trio` from 0.22.2 to 0.24.0
- [Release notes](https://github.com/python-trio/trio/releases )
- [Commits](https://github.com/python-trio/trio/compare/v0.22.2...v0.24.0 )
Updates `uvicorn` from 0.24.0.post1 to 0.25.0
- [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.24.0.post1...0.25.0 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: python-packages
- dependency-name: trio
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-minor
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>
2024-01-15 10:04:09 +00:00