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
Tom Christie
8cd952c88f
Docs restructuring. ( #3049 )
...
* Tweak docs layout
* Move client docs into folder
* Add clients/authentication section
* Client authentication docs
* Fix authentication example
* SSL Context
* Timeouts
* Event hooks
* Proxies, Transports
* Text encodings
* Resource limits
* 'Clients' -> 'Advanced'
* 'Clients' -> 'Advanced'
* Add client docs
---------
Co-authored-by: Kar Petrosyan <92274156+karpetrosyan@users.noreply.github.com>
2024-01-15 09:48:56 +00:00
Marcelo Trylesinski
ab720d3258
Group dependencies on dependabot updates ( #3054 )
2024-01-12 11:48:03 -07: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
ca51b4532a
Keep clients in sync ( #3042 )
...
* Keep clients in sync
* Update httpx/_client.py
* Update httpx/_client.py
2024-01-08 15:09:14 +04:00
Kar Petrosyan
c6907c2203
Remove unused type: ignore ( #3038 )
...
* Remove unused type: ignore
* Bump mypy version
* Revert "Bump mypy version"
This reverts commit 55b44b5d2f .
* Bump mypy
---------
Co-authored-by: Tom Christie <tom@tomchristie.com>
2024-01-04 15:03:09 +00:00
dependabot[bot]
ebc1393c5c
Bump pytest from 7.4.3 to 7.4.4 ( #3032 )
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 7.4.3 to 7.4.4.
- [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.3...7.4.4 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kar Petrosyan <92274156+karpetrosyan@users.noreply.github.com>
2024-01-03 11:18:02 +04:00
dependabot[bot]
4ddff16bbe
Bump coverage[toml] from 7.3.0 to 7.4.0 ( #3034 )
...
Bumps [coverage[toml]](https://github.com/nedbat/coveragepy ) from 7.3.0 to 7.4.0.
- [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.3.0...7.4.0 )
---
updated-dependencies:
- dependency-name: coverage[toml]
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kar Petrosyan <92274156+karpetrosyan@users.noreply.github.com>
2024-01-03 09:44:26 +04:00
dependabot[bot]
f1ed746308
Bump actions/setup-python from 4 to 5 ( #3036 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kar Petrosyan <92274156+karpetrosyan@users.noreply.github.com>
2024-01-03 09:36:16 +04:00
dependabot[bot]
ea3071642d
Bump ruff from 0.1.6 to 0.1.9 ( #3031 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.1.6 to 0.1.9.
- [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.6...v0.1.9 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kar Petrosyan <92274156+karpetrosyan@users.noreply.github.com>
2024-01-03 09:14:26 +04:00
dependabot[bot]
b871b4b8b2
Bump mkdocs-material from 9.4.14 to 9.5.3 ( #3035 )
...
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material ) from 9.4.14 to 9.5.3.
- [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.4.14...9.5.3 )
---
updated-dependencies:
- dependency-name: mkdocs-material
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-03 09:11:45 +04:00
Tom Christie
dd5304d3eb
Tidy up import ( #3020 )
...
Co-authored-by: Kar Petrosyan <92274156+karpetrosyan@users.noreply.github.com>
2023-12-28 13:10:37 +00:00
Kar Petrosyan
1a660147ed
Add missing argument ( #3023 )
...
* Add missing argument
* chaneglog
* changelog
2023-12-28 16:50:43 +04:00
Marcel Telka
1d526a0180
types-certifi and types-chardet are no longer needed (#3015 )
2023-12-21 10:51:11 +00: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
b4b27ff677
Remove unused curio check ( #3010 )
2023-12-19 08:53:30 +04:00
Tom Christie
a11fc3849b
Cleanup URL percent-encoding behavior. ( #2990 )
...
* Replace path_query_fragment encoding tests
* Remove replaced test cases
* Fix test case to use correct hex sequence for 'abc'
* Fix 'quote' behaviour so we don't double-escape.
* Add '/' to safe chars in query strings
* Update docstring
* Linting
* Update outdated comment.
* Revert unrelated change
---------
Co-authored-by: Kar Petrosyan <92274156+karpetrosyan@users.noreply.github.com>
2023-12-15 11:35:16 +00: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
James Braza
2318fd822c
Enabling ruff C416 ( #3001 )
...
* Enabled C416 in ruff
* Ran ruff on all files
* Ran ruff format
* Update pyproject.toml
---------
Co-authored-by: Tom Christie <tom@tomchristie.com>
2023-12-13 11:30:39 +00:00
Tom Christie
2c51edd0c0
Update CHANGELOG.md ( #3000 )
2023-12-12 13:44:26 +00:00
James Braza
1e11096473
Fixed iter_text adding an empty string ( #2998 )
2023-12-11 22:34:25 +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