dependabot[bot]
b4f66c2cd7
Bump mkdocs-material from 9.1.5 to 9.1.15 ( #2729 )
...
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material ) from 9.1.5 to 9.1.15.
- [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.1.5...9.1.15 )
---
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: Tom Christie <tom@tomchristie.com>
2023-06-06 10:24:53 +01:00
dependabot[bot]
1b8187ca67
Bump pytest from 7.2.2 to 7.3.1 ( #2731 )
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 7.2.2 to 7.3.1.
- [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.2.2...7.3.1 )
---
updated-dependencies:
- dependency-name: pytest
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: Tom Christie <tom@tomchristie.com>
2023-06-06 10:20:00 +01:00
dependabot[bot]
5eb00b77a3
Bump mypy from 1.0.1 to 1.3.0 ( #2732 )
...
Bumps [mypy](https://github.com/python/mypy ) from 1.0.1 to 1.3.0.
- [Commits](https://github.com/python/mypy/compare/v1.0.1...v1.3.0 )
---
updated-dependencies:
- dependency-name: mypy
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>
2023-06-06 10:14:50 +01:00
dependabot[bot]
2073ea0046
Bump cryptography from 40.0.2 to 41.0.0 ( #2735 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-02 14:33:26 -06:00
dependabot[bot]
dedd37b9ce
Bump mkdocs from 1.4.2 to 1.4.3 ( #2730 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-01 10:59:45 -06:00
Karen Petrosyan
733595037a
Add socket_options argument to httpx.HTTPTransport class ( #2716 )
...
* Add `socket_options` argument to `httpx.HTTPTransport` and `httpx.AsyncHTTPTransport` classes
* Update changelog
* Fix changelog format
* Set httpcore's minimum version to 0.17.2
* Remove SOCKET_OPTIONS import
2023-05-24 11:42:39 +03:00
Nik
a682f6f1c7
Fix exception suppression in asgi transport ( #2669 )
2023-05-21 01:17:23 +01:00
Peter Lazorchak
f9abbbbb48
Update changelog with WSGITransport SERVER_PROTOCOL fix ( #2711 )
2023-05-19 18:18:00 +01:00
Peter Lazorchak
abb994c0c2
Ensure all WSGITransport environs have a SERVER_PROTOCOL ( #2708 )
2023-05-19 11:38:18 +01:00
epenet
fcf1bc73db
Version 0.24.1 ( #2702 )
...
* Version 0.24.1
* Update CHANGELOG.md
* Update CHANGELOG.md
2023-05-18 12:03:21 +01:00
Tom Christie
ee432c0d30
Fix for gen-delims escaping behaviour in path/query/fragment ( #2701 )
2023-05-09 14:20:12 +01:00
Bartosz Sokorski
df5dbc0558
Move configuration of tools to pyproject.toml ( #2686 )
...
Co-authored-by: Tom Christie <tom@tomchristie.com>
2023-05-03 14:13:40 +01:00
dependabot[bot]
746eaef3b4
Bump trio-typing from 0.7.0 to 0.8.0 ( #2688 )
...
Bumps [trio-typing](https://github.com/python-trio/trio-typing ) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/python-trio/trio-typing/releases )
- [Commits](https://github.com/python-trio/trio-typing/compare/v0.7.0...v0.8.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>
2023-05-01 12:15:35 -06:00
dependabot[bot]
919da41dc3
Bump types-chardet from 5.0.4.2 to 5.0.4.5 ( #2689 )
...
Bumps [types-chardet](https://github.com/python/typeshed ) from 5.0.4.2 to 5.0.4.5.
- [Release notes](https://github.com/python/typeshed/releases )
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-chardet
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>
2023-05-01 12:00:42 -06:00
dependabot[bot]
028b9aa201
Bump trustme from 0.9.0 to 1.0.0 ( #2690 )
...
Bumps [trustme](https://github.com/python-trio/trustme ) from 0.9.0 to 1.0.0.
- [Release notes](https://github.com/python-trio/trustme/releases )
- [Commits](https://github.com/python-trio/trustme/compare/v0.9.0...v1.0.0 )
---
updated-dependencies:
- dependency-name: trustme
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>
2023-05-01 11:43:47 -06:00
dependabot[bot]
f98268a334
Bump cryptography from 39.0.1 to 40.0.2 ( #2692 )
...
Bumps [cryptography](https://github.com/pyca/cryptography ) from 39.0.1 to 40.0.2.
- [Release notes](https://github.com/pyca/cryptography/releases )
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pyca/cryptography/compare/39.0.1...40.0.2 )
---
updated-dependencies:
- dependency-name: cryptography
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>
2023-05-01 11:40:51 -06:00
dependabot[bot]
1250a6fd68
Bump uvicorn from 0.20.0 to 0.22.0 ( #2691 )
...
Bumps [uvicorn](https://github.com/encode/uvicorn ) from 0.20.0 to 0.22.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.20.0...0.22.0 )
---
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>
2023-05-01 11:17:31 -06:00
Florimond Manca
859038a9e6
Add httpx-sse to Third Party Packages ( #2683 )
2023-04-28 08:52:16 +02:00
Amin Alaee
32e25497a3
Fix ruff error and script ( #2680 )
2023-04-26 09:34:33 +02:00
Leon Kuchenbecker
472597fb6b
More robust check for upload files in binary mode ( #2630 )
...
* Fix check for binary mode
* Change order of type checks
---------
Co-authored-by: Tom Christie <tom@tomchristie.com>
2023-04-20 12:52:44 +01:00
Tom Christie
26dc39213a
Additional context in InvalidURL exceptions ( #2675 )
2023-04-20 12:17:44 +01:00
Florimond Manca
cca62060cb
Drop private imports from test_decoders.py ( #2570 )
...
Co-authored-by: Tom Christie <tom@tomchristie.com>
2023-04-19 14:16:29 +01:00
dependabot[bot]
21e8a7d90c
Bump mkdocs-material from 9.0.15 to 9.1.5 ( #2640 )
...
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material ) from 9.0.15 to 9.1.5.
- [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.0.15...9.1.5 )
---
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>
Co-authored-by: Tom Christie <tom@tomchristie.com>
2023-04-19 13:48:56 +01:00
Tom Christie
9ae170a936
Fix optional percent encoding behaviour. ( #2671 )
...
* Tests for failing optional percent encoding
* Linting
* Fix for optional percent escaping
2023-04-19 13:21:42 +01:00
Jiayun Shen
15d09a3bbc
fix: NO_PROXY should support IPv4, IPv6 and localhost ( #2659 )
...
* fix: NO_PROXY supports IPv4, IPv6 and localhost
* add more tests for test_get_environment_proxies
---------
Co-authored-by: Tom Christie <tom@tomchristie.com>
2023-04-19 13:14:37 +01:00
Tom Christie
7d7c4f15b8
Update PULL_REQUEST_TEMPLATE.md ( #2672 )
2023-04-19 13:43:58 +02:00
Marcelo Trylesinski
7455c00327
Update PULL_REQUEST_TEMPLATE.md ( #2668 )
2023-04-19 10:29:40 +02:00
Alex Prengère
c1cc6b2462
Fixes #2666 : None is the default value of file for httpx.NetRCAuth ( #2667 )
2023-04-18 10:03:01 +01:00
Piotr Staroszczyk
4b5a92e88e
set logging request lines to INFO level for async method also ( #2656 )
2023-04-12 15:53:11 +01:00
Tom Christie
579a3f2fb8
Version 0.24.0 ( #2652 )
...
* Version 0.24.0
* Typo
* Update CHANGELOG.md
2023-04-11 11:00:02 +01:00
Marcelo Trylesinski
daec2bdcdb
Use ruff instead of flake8, autoflake and isort ( #2648 )
...
* Use ruff instead of flake8, autoflake and isort
* Update pyproject.toml
2023-04-05 12:37:10 +02:00
dependabot[bot]
ab8177c53a
Bump coverage from 7.2.1 to 7.2.2 ( #2641 )
...
Bumps [coverage](https://github.com/nedbat/coveragepy ) from 7.2.1 to 7.2.2.
- [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.2.1...7.2.2 )
---
updated-dependencies:
- dependency-name: coverage
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>
2023-04-05 11:17:42 +01:00
dependabot[bot]
46a5d38bd7
Update httpcore requirement from <0.17.0,>=0.15.0 to >=0.15.0,<0.18.0 ( #2642 )
...
Updates the requirements on [httpcore](https://github.com/encode/httpcore ) to permit the latest version.
- [Release notes](https://github.com/encode/httpcore/releases )
- [Changelog](https://github.com/encode/httpcore/blob/master/CHANGELOG.md )
- [Commits](https://github.com/encode/httpcore/compare/0.15.0...0.17.0 )
---
updated-dependencies:
- dependency-name: httpcore
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-05 11:05:31 +01:00
dependabot[bot]
70f6ff8c3b
Bump pytest from 7.2.1 to 7.2.2 ( #2643 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-02 11:00:39 +02:00
dependabot[bot]
35a00672dd
Bump black from 22.10.0 to 23.3.0 ( #2644 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-02 10:50:53 +02:00
Tom Christie
f1157dbc41
Use standard logging style ( #2547 )
...
* Use standard logging style
* Add docs for logging
* Drop out-of-date HTTPX_LOG_LEVEL variable docs
2023-03-20 11:30:11 +00:00
Gianni Tedesco
85c5898d8e
Change LineDecoder to match stdlib splitlines, resulting in significant speed up ( #2423 )
...
* Replace quadratic algo in LineDecoder
Leading to enormous speedups when doing things such as
Response(...).iter_lines() as described on issue #2422
* Update httpx/_decoders.py
* Update _decoders.py
Handle text ending in `\r` more gracefully.
Return as much content as possible.
* Update test_decoders.py
* Update _decoders.py
* Update _decoders.py
* Update _decoders.py
* Update httpx/_decoders.py
Co-authored-by: cdeler <serj.krotov@gmail.com>
* Update _decoders.py
---------
Co-authored-by: Tom Christie <tom@tomchristie.com>
Co-authored-by: cdeler <serj.krotov@gmail.com>
2023-03-16 14:29:15 +00:00
Tom Christie
e486fbceea
Update _client.py
2023-03-15 10:11:01 +00:00
Tom Christie
0fc9009b90
Update _client.py
2023-03-15 10:07:09 +00:00
bpoirriez
c5e9c82c90
Add sslcontext to the asynclient docstring ( #2609 )
...
Co-authored-by: Tom Christie <tom@tomchristie.com>
2023-03-13 12:06:21 +00:00
dependabot[bot]
ead8010a57
Bump mkdocs-material from 8.5.11 to 9.0.15 ( #2610 )
...
* Bump mkdocs-material from 8.5.11 to 9.0.15
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material ) from 8.5.11 to 9.0.15.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases )
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG )
- [Upgrade guide](https://github.com/squidfunk/mkdocs-material/blob/master/docs/upgrade.md )
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/8.5.11...9.0.15 )
---
updated-dependencies:
- dependency-name: mkdocs-material
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump `mkdocs` to minimum version required by `mkdocs-material-9.0.15`
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Michael Adkins <michael@prefect.io>
Co-authored-by: Tom Christie <tom@tomchristie.com>
2023-03-06 11:32:02 +00:00
dependabot[bot]
978e5bbe9f
Bump types-chardet from 5.0.3 to 5.0.4.2 ( #2613 )
...
Bumps [types-chardet](https://github.com/python/typeshed ) from 5.0.3 to 5.0.4.2.
- [Release notes](https://github.com/python/typeshed/releases )
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-chardet
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>
2023-03-06 11:29:01 +00:00
dependabot[bot]
6779fae5ee
Bump mypy from 0.982 to 1.0.1 ( #2611 )
...
* Bump mypy from 0.982 to 1.0.1
Bumps [mypy](https://github.com/python/mypy ) from 0.982 to 1.0.1.
- [Release notes](https://github.com/python/mypy/releases )
- [Commits](https://github.com/python/mypy/compare/v0.982...v1.0.1 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Remove unused ignores for mypy-1.0.1
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Michael Adkins <michael@prefect.io>
2023-03-01 11:53:54 -06:00
dependabot[bot]
99a080ea78
Bump pytest from 7.2.0 to 7.2.1 ( #2612 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-01 18:26:09 +01:00
dependabot[bot]
988809a9d6
Bump coverage from 6.5.0 to 7.2.1 ( #2614 )
...
Bumps [coverage](https://github.com/nedbat/coveragepy ) from 6.5.0 to 7.2.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/6.5.0...7.2.1 )
---
updated-dependencies:
- dependency-name: coverage
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>
2023-03-01 18:13:03 +01:00
Florimond Manca
a934c36a85
Drop private imports from test_urlparse.py ( #2572 )
...
* Drop private imports from test_urlparse.py
* Coverage
* Drop ._uri_reference
2023-02-15 14:43:19 +00:00
Adrian Garcia Badaracco
f0fd91925b
fix type annotation for MockTransport ( #2581 )
...
* fix type annotation for MockTransport
* add type ignore
* better type checks
* better type checks
* add pragma
---------
Co-authored-by: Tom Christie <tom@tomchristie.com>
2023-02-09 16:05:07 +00:00
Florimond Manca
18e0ae45ca
Drop private imports from test_exported_members.py ( #2573 )
...
Co-authored-by: Tom Christie <tom@tomchristie.com>
2023-02-09 16:00:27 +00:00
Florimond Manca
ef06f7d076
Drop private imports in tests/conftest.py ( #2569 )
...
Co-authored-by: Tom Christie <tom@tomchristie.com>
2023-02-09 15:54:53 +00:00
Florimond Manca
78d381fc7d
Drop private imports from test_main.py ( #2574 )
...
Co-authored-by: Tom Christie <tom@tomchristie.com>
2023-02-09 15:50:09 +00:00