]>
git.ipfire.org Git - thirdparty/httpx.git/log
Kar Petrosyan [Thu, 24 Oct 2024 10:09:38 +0000 (14:09 +0400)]
Minor fixes
Colin Bounouar [Wed, 23 Oct 2024 19:06:45 +0000 (21:06 +0200)]
typo: Reading a response expose response text, not request text (#3359)
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>
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>
T-256 [Fri, 27 Sep 2024 15:36:34 +0000 (19:06 +0330)]
Add `httpx-socks` to third party packages. (#3326)
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>
Tom Christie [Tue, 24 Sep 2024 16:21:56 +0000 (17:21 +0100)]
Enable TestSuite for PRs to version branches. (#3318)
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>
Tom Christie [Tue, 17 Sep 2024 10:31:15 +0000 (11:31 +0100)]
Add speakeasy sponsorship (#3305)
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>
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)
Tom Christie [Tue, 27 Aug 2024 12:52:05 +0000 (13:52 +0100)]
Reintroduce `URLTypes`. (#3288)
Tom Christie [Tue, 27 Aug 2024 11:27:08 +0000 (12:27 +0100)]
Update CHANGELOG for 0.27.1 release date. (#3285)
Michiel W. Beijen [Thu, 22 Aug 2024 15:03:23 +0000 (17:03 +0200)]
Version 0.27.1 (#3275)
Tom Christie [Fri, 26 Jul 2024 08:36:03 +0000 (09:36 +0100)]
Improve InvalidURL error message. (#3250)
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>
Tom Christie [Tue, 23 Jul 2024 14:46:47 +0000 (15:46 +0100)]
Clean up URL signature. (#3245)
Tom Christie [Tue, 23 Jul 2024 14:43:47 +0000 (15:43 +0100)]
Update requirements.txt (#3246)
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>
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>
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>
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>
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>
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>
Tom Christie [Fri, 3 May 2024 00:09:08 +0000 (01:09 +0100)]
Resolve queryparam quoting (#3187)
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)
dependabot[bot] [Wed, 1 May 2024 16:56:17 +0000 (17:56 +0100)]
Bump the python-packages group with 6 updates (#3185)
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>
dependabot[bot] [Tue, 9 Apr 2024 20:38:43 +0000 (21:38 +0100)]
Bump the python-packages group with 8 updates (#3156)
Hugo Cachitas [Sat, 6 Apr 2024 11:55:26 +0000 (12:55 +0100)]
Update URL.__init__ signature (#3159)
Tom Christie [Sat, 6 Apr 2024 06:30:16 +0000 (08:30 +0200)]
Document 'target' extension (#3160)
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>
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>
T-256 [Fri, 1 Mar 2024 19:49:23 +0000 (23:19 +0330)]
format (#3131)
Co-authored-by: T-256 <Tester@test.com>
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>
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.
Nick Cameron [Thu, 29 Feb 2024 11:11:43 +0000 (06:11 -0500)]
Fix broken links in docs/contributing.md and CHANGELOG.md (#3124)
Nick Cameron [Wed, 28 Feb 2024 18:13:23 +0000 (13:13 -0500)]
Update /advanced/#<anchor> links -> /advanced/clients/#<anchor> (#3123)
Alex [Mon, 26 Feb 2024 16:36:58 +0000 (17:36 +0100)]
Fix client.send() timeout new Request instance (#3116)
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>
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>
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
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>
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>
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>
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>
Tom Christie [Wed, 14 Feb 2024 11:14:02 +0000 (11:14 +0000)]
Improve 'Custom transports' docs (#3081)
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>
Tom Christie [Fri, 2 Feb 2024 13:29:41 +0000 (13:29 +0000)]
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
dependabot[bot] [Thu, 1 Feb 2024 16:19:47 +0000 (16:19 +0000)]
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>
Richie B2B [Tue, 30 Jan 2024 07:01:56 +0000 (08:01 +0100)]
Mention NO_PROXY environment variable on Advanced Usage page (#3066)
Co-authored-by: Kar Petrosyan <92274156+karpetrosyan@users.noreply.github.com>
Kar Petrosyan [Wed, 24 Jan 2024 14:30:22 +0000 (06:30 -0800)]
Use `__future__.annotations` (#3068)
* Switch to new typing style
* lint
T-256 [Tue, 16 Jan 2024 10:25:02 +0000 (13:55 +0330)]
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>
T-256 [Tue, 16 Jan 2024 09:53:23 +0000 (13:23 +0330)]
test `obfuscate_sensitive_headers` via public api (#3063)
Tom Christie [Mon, 15 Jan 2024 13:01:04 +0000 (13:01 +0000)]
Drop outdated section (#3057)
Nyakku Shigure [Mon, 15 Jan 2024 12:30:09 +0000 (20:30 +0800)]
Adding an indent to fix wrong rendering in warning block (#3056)
Kar Petrosyan [Mon, 15 Jan 2024 11:15:31 +0000 (15:15 +0400)]
Fix sections references (#3058)
dependabot[bot] [Mon, 15 Jan 2024 10:04:09 +0000 (10:04 +0000)]
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>
Tom Christie [Mon, 15 Jan 2024 09:48:56 +0000 (09:48 +0000)]
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>
Marcelo Trylesinski [Fri, 12 Jan 2024 18:48:03 +0000 (19:48 +0100)]
Group dependencies on dependabot updates (#3054)
Tereza Tomcova [Wed, 10 Jan 2024 10:08:42 +0000 (11:08 +0100)]
Fix RFC 2069 mode digest authentication (#3045)
* Fix RFC 2069 mode digest authentication
* Update CHANGELOG.md
Kar Petrosyan [Mon, 8 Jan 2024 11:09:14 +0000 (15:09 +0400)]
Keep clients in sync (#3042)
* Keep clients in sync
* Update httpx/_client.py
* Update httpx/_client.py
Kar Petrosyan [Thu, 4 Jan 2024 15:03:09 +0000 (19:03 +0400)]
Remove unused type: ignore (#3038)
* Remove unused type: ignore
* Bump mypy version
* Revert "Bump mypy version"
This reverts commit
55b44b5d2f6f6b6417c197c653a43e3db3bf8804 .
* Bump mypy
---------
Co-authored-by: Tom Christie <tom@tomchristie.com>
dependabot[bot] [Wed, 3 Jan 2024 07:18:02 +0000 (11:18 +0400)]
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>
dependabot[bot] [Wed, 3 Jan 2024 05:44:26 +0000 (09:44 +0400)]
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>
dependabot[bot] [Wed, 3 Jan 2024 05:36:16 +0000 (09:36 +0400)]
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>
dependabot[bot] [Wed, 3 Jan 2024 05:14:26 +0000 (09:14 +0400)]
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>
dependabot[bot] [Wed, 3 Jan 2024 05:11:45 +0000 (09:11 +0400)]
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>
Tom Christie [Thu, 28 Dec 2023 13:10:37 +0000 (13:10 +0000)]
Tidy up import (#3020)
Co-authored-by: Kar Petrosyan <92274156+karpetrosyan@users.noreply.github.com>
Kar Petrosyan [Thu, 28 Dec 2023 12:50:43 +0000 (16:50 +0400)]
Add missing argument (#3023)
* Add missing argument
* chaneglog
* changelog
Marcel Telka [Thu, 21 Dec 2023 10:51:11 +0000 (11:51 +0100)]
`types-certifi` and `types-chardet` are no longer needed (#3015)
Kar Petrosyan [Wed, 20 Dec 2023 10:52:22 +0000 (05:52 -0500)]
Version 0.26.0 (#3009)
* Version 0.26.0
* Update changelog
* Update CHANGELOG.md
* Add `Deprecated` section
Kar Petrosyan [Tue, 19 Dec 2023 04:53:30 +0000 (23:53 -0500)]
Remove unused curio check (#3010)
Tom Christie [Fri, 15 Dec 2023 11:35:16 +0000 (11:35 +0000)]
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>
Kar Petrosyan [Thu, 14 Dec 2023 14:04:04 +0000 (09:04 -0500)]
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>
James Braza [Wed, 13 Dec 2023 11:30:39 +0000 (06:30 -0500)]
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>
Tom Christie [Tue, 12 Dec 2023 13:44:26 +0000 (13:44 +0000)]
Update CHANGELOG.md (#3000)
James Braza [Mon, 11 Dec 2023 22:34:25 +0000 (17:34 -0500)]
Fixed `iter_text` adding an empty string (#2998)
Tom Christie [Mon, 11 Dec 2023 15:45:20 +0000 (15:45 +0000)]
Ensure that ASGI 'raw_path' does not include query component of URL. (#2999)
Kar Petrosyan [Mon, 11 Dec 2023 13:55:52 +0000 (08:55 -0500)]
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>
Tom Christie [Thu, 7 Dec 2023 10:08:14 +0000 (10:08 +0000)]
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
Tom Christie [Tue, 5 Dec 2023 15:36:05 +0000 (15:36 +0000)]
Moving test cases into 'test_url.py' (#2982)
* Moving test cases into 'test_url.py'
* Move test_url to test_basic_url
* Linting
* Move TypeError test case. Move basic httpx.URL cases.
* Linting
* Merge invalid URL cases
* Move percent encoding test cases
* Move remaining test cases
* Linting
* Add missing test cases
Tom Christie [Tue, 5 Dec 2023 13:24:34 +0000 (13:24 +0000)]
Reorganise tests in 'test_url.py' (#2981)
* Reorganise tests in 'test_url.py'
* Linting
dependabot[bot] [Sun, 3 Dec 2023 06:20:07 +0000 (22:20 -0800)]
Bump uvicorn from 0.22.0 to 0.24.0.post1 (#2972)
Bumps [uvicorn](https://github.com/encode/uvicorn) from 0.22.0 to 0.24.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.22.0...0.24.0.post1)
---
updated-dependencies:
- dependency-name: uvicorn
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>
dependabot[bot] [Sun, 3 Dec 2023 06:17:24 +0000 (22:17 -0800)]
Bump mkdocs-material from 9.4.7 to 9.4.14 (#2973)
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.4.7 to 9.4.14.
- [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.7...9.4.14)
---
updated-dependencies:
- dependency-name: mkdocs-material
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>
dependabot[bot] [Sat, 2 Dec 2023 05:42:50 +0000 (09:42 +0400)]
Bump trio-typing from 0.9.0 to 0.10.0 (#2970)
Bumps [trio-typing](https://github.com/python-trio/trio-typing) from 0.9.0 to 0.10.0.
- [Commits](https://github.com/python-trio/trio-typing/compare/v0.9.0...v0.10.0)
---
updated-dependencies:
- dependency-name: trio-typing
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>
dependabot[bot] [Fri, 1 Dec 2023 19:34:15 +0000 (13:34 -0600)]
Bump cryptography from 41.0.6 to 41.0.7 (#2971)
Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.6 to 41.0.7.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/41.0.6...41.0.7)
---
updated-dependencies:
- dependency-name: cryptography
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>
dependabot[bot] [Fri, 1 Dec 2023 19:31:23 +0000 (13:31 -0600)]
Bump ruff from 0.1.3 to 0.1.6 (#2974)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.1.3 to 0.1.6.
- [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.3...v0.1.6)
---
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>
T-256 [Wed, 29 Nov 2023 09:28:31 +0000 (12:58 +0330)]
Ruff linter: Use the default line-length (#2922)
Co-authored-by: Tester <Tester@test.com>
Co-authored-by: Kar Petrosyan <92274156+karpetrosyan@users.noreply.github.com>
dependabot[bot] [Wed, 29 Nov 2023 04:32:50 +0000 (22:32 -0600)]
Bump cryptography from 41.0.4 to 41.0.6 (#2965)
Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.4 to 41.0.6.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/41.0.4...41.0.6)
---
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>
Kar Petrosyan [Fri, 24 Nov 2023 12:33:18 +0000 (16:33 +0400)]
Version 0.25.2 (#2957)
* Version 0.25.2
* Update CHANGELOG.md
Petr Belskiy [Fri, 17 Nov 2023 13:58:51 +0000 (16:58 +0300)]
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>
Kar Petrosyan [Fri, 17 Nov 2023 12:48:27 +0000 (16:48 +0400)]
Add missing changelog section (#2943)
Marcel Telka [Tue, 14 Nov 2023 08:17:27 +0000 (09:17 +0100)]
Add tests and requirements.txt to sdist (#2927)
* Add tests and requirements.txt to sdist
* Update pyproject.toml
Co-authored-by: Tom Christie <tom@tomchristie.com>
---------
Co-authored-by: Kar Petrosyan <92274156+karpetrosyan@users.noreply.github.com>
Co-authored-by: Tom Christie <tom@tomchristie.com>
Wenceslas Sanchez [Tue, 14 Nov 2023 07:51:48 +0000 (08:51 +0100)]
📌 pin httpcore==1.* (#2937)
* 📌 set httpcore>=1.0.0
* 📌 set httpcore==1.*
Michał Górny [Fri, 10 Nov 2023 15:07:05 +0000 (16:07 +0100)]
Inline Brotli samples in tests (#2935)
Inline the compressed Brotli samples in tests to make them independent
of Brotli implementation. This makes it possible to run the test suite
both against Brotli and brotlicffi.
Fixes #2906
Tom Christie [Fri, 3 Nov 2023 14:28:37 +0000 (14:28 +0000)]
Tidy up headers in CHANGELOG.md (#2925)
dependabot[bot] [Fri, 3 Nov 2023 13:55:10 +0000 (08:55 -0500)]
Bump build from 0.10.0 to 1.0.3 (#2913)
Bumps [build](https://github.com/pypa/build) from 0.10.0 to 1.0.3.
- [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/0.10.0...1.0.3)
---
updated-dependencies:
- dependency-name: build
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: Tom Christie <tom@tomchristie.com>
Tom Christie [Fri, 3 Nov 2023 13:18:54 +0000 (13:18 +0000)]
Version 0.25.1 (#2923)
Paul Schreiber [Thu, 2 Nov 2023 14:41:25 +0000 (10:41 -0400)]
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>