Tom Christie
54b8d24a6e
Use system proxies
2024-11-05 14:55:32 +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
eeb5e3c2a3
Cleanup unneccessary test case ( #3375 )
2024-10-28 17:38:33 +00:00
Tom Christie
5dda2aa306
Just use default safe=... characters for urlescape ( #3376 )
2024-10-28 17:38:16 +00:00
Tom Christie
5440381553
Update CHANGELOG.md ( #3374 )
2024-10-28 16:23:45 +00:00
Tom Christie
ba2e51215e
Review urlescape percent-safe set, and use + behavior for form spaces. ( #3373 )
2024-10-28 16:19:59 +00:00
Tom Christie
d293374b66
Review URL percent escaping sets, from whatwg. ( #3371 )
2024-10-28 15:06:10 +00:00
Tom Christie
489fef48ba
Update CHANGELOG.md ( #3372 )
2024-10-28 14:43:24 +00:00
BERRADA-Omar
9fd6f0ca66
Ensure JSON representation is compact. #3363 ( #3367 )
...
Co-authored-by: Tom Christie <tom@tomchristie.com>
2024-10-28 14:40:22 +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
3f76571d34
Concise URL instantiation. ( #3364 )
2024-10-25 14:27:54 +01:00
Colin Bounouar
6f9b50990d
typo: Reading a response expose response text, not request text ( #3359 )
2024-10-23 20:06:45 +01:00
dependabot[bot]
1bf1fc0ea8
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>
2024-10-01 18:05:20 +01:00
T-256
95a9527ed6
Add httpx-ws to third party packages. ( #3325 )
...
Co-authored-by: Tom Christie <tom@tomchristie.com>
2024-09-27 16:41:16 +01:00
T-256
3849e1518f
Add httpx-socks to third party packages. ( #3326 )
2024-09-27 16:36:34 +01:00
Polina Beskorovainaia
49d74a2e7f
Clarified error when header value is None ( #3312 )
...
Co-authored-by: Zanie Blue <contact@zanie.dev>
2024-09-26 18:01:47 +01:00
Tom Christie
2e01aa0075
Enable TestSuite for PRs to version branches. ( #3318 )
2024-09-24 17:21:56 +01:00
Tom Christie
f06171fd5a
Revert "Removed leading $ from cli code blocks" ( #3192 )
...
Co-authored-by: Kar Petrosyan <92274156+karpetrosyan@users.noreply.github.com>
2024-09-23 00:16:32 +04:00
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