dependabot[bot]
1a526cf56b
Bump actions/checkout from 2 to 3 ( #2216 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
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>
2022-05-10 10:11:38 +01:00
dependabot[bot]
7a53543428
Bump actions/setup-python from 1 to 3 ( #2215 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 1 to 3.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v1...v3 )
---
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>
2022-05-10 10:07:37 +01:00
Naveen
f224bd5911
chore: Included githubactions in the dependabot config ( #2206 )
...
This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure.
Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot
GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool
Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
Co-authored-by: Tom Christie <tom@tomchristie.com>
2022-05-10 10:02:42 +01:00
Tom Christie
850b4801d6
Case insensitive algorithm detection for digest authentication. ( #2204 )
...
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2022-05-09 10:42:57 +01:00
dependabot[bot]
e58b491d11
Bump types-certifi from 2021.10.8.0 to 2021.10.8.2 ( #2205 )
...
Bumps [types-certifi](https://github.com/python/typeshed ) from 2021.10.8.0 to 2021.10.8.2.
- [Release notes](https://github.com/python/typeshed/releases )
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-certifi
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>
2022-05-05 13:18:23 +01:00
nyuszika7h
782f507b63
docs: Fix proxy examples ( #2183 )
...
Per https://www.python-httpx.org/compatibility/#proxy-keys , there should
always be a `://` after the protocol. The given examples raise an
exception when used as-is.
Co-authored-by: Florimond Manca <florimond.manca@protonmail.com>
Co-authored-by: Tom Christie <tom@tomchristie.com>
2022-05-05 13:11:18 +01:00
dependabot[bot]
8bdd6731ff
Bump trio-typing from 0.5.1 to 0.7.0 ( #2195 )
...
Bumps [trio-typing](https://github.com/python-trio/trio-typing ) from 0.5.1 to 0.7.0.
- [Release notes](https://github.com/python-trio/trio-typing/releases )
- [Commits](https://github.com/python-trio/trio-typing/compare/v0.5.1...v0.7.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>
Co-authored-by: Tom Christie <tom@tomchristie.com>
2022-05-05 13:06:44 +01:00
dependabot[bot]
70e7cd766f
Bump pytest from 7.0.1 to 7.1.2 ( #2196 )
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 7.0.1 to 7.1.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/7.0.1...7.1.2 )
---
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>
2022-05-05 13:03:44 +01:00
dependabot[bot]
fba190b5b9
Bump trio from 0.19.0 to 0.20.0 ( #2197 )
...
Bumps [trio](https://github.com/python-trio/trio ) from 0.19.0 to 0.20.0.
- [Release notes](https://github.com/python-trio/trio/releases )
- [Commits](https://github.com/python-trio/trio/compare/v0.19.0...v0.20.0 )
---
updated-dependencies:
- dependency-name: trio
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>
2022-05-05 12:59:29 +01:00
Ninzero
2b26412868
Clarify custom auth ( #2202 )
2022-05-04 11:11:53 +02:00
Alan Li
e9b0c85dd4
Patch copy_with ( #2185 )
...
* Patch `copy_with`
* Add a new test for `copy_with`
2022-05-03 11:33:13 +01:00
dependabot[bot]
b07fe7b074
Bump uvicorn from 0.14.0 to 0.17.6 ( #2163 )
...
Bumps [uvicorn](https://github.com/encode/uvicorn ) from 0.14.0 to 0.17.6.
- [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.14.0...0.17.6 )
---
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>
2022-04-18 10:07:17 +02:00
dependabot[bot]
3af5146788
Bump cryptography from 36.0.1 to 36.0.2 ( #2162 )
...
Bumps [cryptography](https://github.com/pyca/cryptography ) from 36.0.1 to 36.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/36.0.1...36.0.2 )
---
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>
Co-authored-by: Tom Christie <tom@tomchristie.com>
2022-04-05 14:49:03 +01:00
dependabot[bot]
c54df4eab3
Bump twine from 3.7.1 to 4.0.0 ( #2161 )
...
Bumps [twine](https://github.com/pypa/twine ) from 3.7.1 to 4.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/3.7.1...4.0.0 )
---
updated-dependencies:
- dependency-name: twine
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>
2022-04-05 09:31:05 +01:00
dependabot[bot]
782d190d44
Bump wheel from 0.37.0 to 0.37.1 ( #2160 )
...
Bumps [wheel](https://github.com/pypa/wheel ) from 0.37.0 to 0.37.1.
- [Release notes](https://github.com/pypa/wheel/releases )
- [Changelog](https://github.com/pypa/wheel/blob/main/docs/news.rst )
- [Commits](https://github.com/pypa/wheel/compare/0.37.0...0.37.1 )
---
updated-dependencies:
- dependency-name: wheel
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>
2022-04-05 09:20:40 +01:00
Johannes
781076cb63
Fix raise_for_status exception docs ( #2159 )
...
Closes #2126
2022-04-01 16:06:24 +01:00
Michael Oliver
550fff933f
Add request getter/setter to HTTPError ( #2158 )
2022-04-01 11:10:32 +01:00
Tom Christie
3350d7e683
Close responses when on cancellations occur during reading. ( #2156 )
...
* Test case for clean stream closing on cancellations
* Test case for clean stream closing on cancellations
* Linting on tests
* responses should close on any BaseException
2022-03-31 13:41:40 +01:00
Ofek Lev
67c297069f
Drop EOL Python 3.6 ( #2097 )
...
Co-authored-by: Florimond Manca <florimond.manca@protonmail.com>
Co-authored-by: Tom Christie <tom@tomchristie.com>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2022-03-30 17:31:05 +02:00
Jorge
f7a024cee3
Corrected typo in advanced.md ( #2155 )
2022-03-30 16:58:00 +02:00
Marcelo Trylesinski
3f9da8e0f5
Bump black to 22.3.0 ( #2153 )
...
* Bump black to 22.3.0
* Apply black
2022-03-30 09:56:57 +01:00
Tom Christie
4747c316d8
Update stale.yml ( #2150 )
2022-03-28 13:26:41 +01:00
Raffaele Salmaso
476127697f
Allow rich 12 ( #2122 )
2022-03-28 12:59:07 +01:00
Florimond Manca
c5b2dd167b
Upgrade mkdocs to 1.3.0 to fix scripts/docs failure ( #2147 )
2022-03-28 05:46:47 +02:00
kk
c82885ac04
Fix cli docs --proxies #2124 ( #2125 )
2022-03-14 17:51:39 +01:00
Dan Claudiu Pop
43a1c1c826
Add robox to third party packages doc ( #2113 )
...
* Add robox to third party packages doc
* Update third_party_packages.md
2022-03-08 10:53:15 +00:00
dependabot[bot]
754b55691d
Bump flake8-bugbear from 21.9.2 to 22.1.11 ( #2100 )
...
Bumps [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear ) from 21.9.2 to 22.1.11.
- [Release notes](https://github.com/PyCQA/flake8-bugbear/releases )
- [Commits](https://github.com/PyCQA/flake8-bugbear/compare/21.9.2...22.1.11 )
---
updated-dependencies:
- dependency-name: flake8-bugbear
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>
2022-03-04 19:07:52 +00:00
dependabot[bot]
67651f8d05
Bump pytest from 6.2.5 to 7.0.1 ( #2103 )
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 6.2.5 to 7.0.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/6.2.5...7.0.1 )
---
updated-dependencies:
- dependency-name: pytest
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>
2022-03-03 10:09:05 +00:00
Ben Fasoli
6820b1d9c5
Fix invalid max_keepalive_connections argument name ( #2094 )
...
The argument to `httpx.Limits` is named `max_keepalive_connections` but is referenced as `max_keepalive` in the docs.
2022-02-25 14:10:35 +00:00
Udasi Tharani
2a08edc471
adding keepalive_expiry param to docs and docstring ( #2090 )
2022-02-22 10:40:14 +00:00
Tom Christie
7883c98556
Create stale.yml ( #2085 )
2022-02-17 09:32:47 +00:00
Tom Christie
d07c4b4407
Move URL and QueryParams to new '_urls.py' module ( #2084 )
2022-02-16 21:02:13 +00:00
Tom Christie
2072aa2361
Docs tweaks ( #2075 )
2022-02-09 16:05:20 +00:00
waterfountain1996
4c307488cd
Suppress binary output on the command line ( #2049 ) ( #2076 )
2022-02-09 15:40:39 +00:00
Yasser Tahiri
a416106250
Refactor httpx/_utils.py ( #1943 )
...
* Removes unnecessary call to keys() when iterating over a dictionary
* Simplify conditionals into a form like a switch statement
* Merge else clause's nested if statement into elif
* Update httpx/_utils.py
* Update httpx/_utils.py
Co-authored-by: Tom Christie <tom@tomchristie.com>
2022-02-09 12:12:09 +00:00
iscai-msft
7d3a5347a9
update eerror docs to use StreamClosed instead of old ResponseClosed ( #1913 )
...
Co-authored-by: Tom Christie <tom@tomchristie.com>
2022-02-09 11:53:49 +00:00
waterfountain1996
4401d55ecf
Preserve Authorization header on HTTPS redirect ( #1850 ) ( #2074 )
...
* Preserve Authorization header on HTTPS redirect (#1850 )
* Update httpx/_client.py
Co-authored-by: Tom Christie <tom@tomchristie.com>
2022-02-09 11:18:21 +00:00
toppk
4f8068a7ad
update docstring/docs for transport using request/response models ( #2070 )
...
* update docstring/docs for transport based on pull #1840
* Update httpx/_transports/base.py
* lint'd
Co-authored-by: Tom Christie <tom@tomchristie.com>
2022-02-08 14:58:08 +00:00
Tom Christie
420911bc69
Ensure that iter_bytes does not ever yield any zero-length chunks ( #2068 )
2022-02-07 09:19:26 +00:00
Tom Christie
0088253b32
Always rewind files on multipart uploads. ( #2065 )
...
* Test for multipart POST same file twice.
* Always rewind files on multipart uploads
* Linting
2022-02-04 14:48:57 +00:00
Will McGugan
2814fd379c
Fix console markup escaping issue ( #1866 )
...
* fix for markup escaping in progress
* whitespace
* restore new line
* Update _main.py
Co-authored-by: Tom Christie <tom@tomchristie.com>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2022-02-04 12:33:32 +00:00
Michał Górny
2146c75f4e
Allow rich-11 ( #2057 )
...
Relax the version bind on rich to allow v11. There are no test
regressions with the new version, and CLI seems to work correctly.
2022-02-01 12:28:12 +00:00
Simon K
7b6af4d123
make docs accurate that content= is also excluded in some requests ( #1922 )
...
Co-authored-by: Tom Christie <tom@tomchristie.com>
2022-01-27 11:58:33 +00:00
Tom Christie
15c51b9dd5
Version 0.22.0 ( #2048 )
...
* SOCKS proxy support
* Version 0.22.0
* Link to socksio
2022-01-26 14:47:40 +00:00
Tom Christie
31944b90f1
Update publish.yml ( #2040 )
2022-01-24 12:14:00 +00:00
Vytautas Liuolia
d299e6ff59
Do not recommend the deprecated data= kwarg for passing bytes. ( #2044 )
...
(`data=` is meant for sending form data.)
2022-01-23 21:37:27 +01:00
Adrian Garcia Badaracco
321d4aa509
Fix Headers.update to correctly handle repeated headers ( #2038 )
2022-01-21 08:35:10 -08:00
Tom Christie
8dc9b6bd59
SOCKS proxy support ( #2034 )
2022-01-19 14:58:19 +00:00
Tom Christie
7f0d43daad
Dont perform implicit close/warning on __del__ ( #2026 )
...
* Version 0.21.3
* Don't perform implict close on __del__
2022-01-13 10:37:37 +00:00
Adrian Garcia Badaracco
0f1ff50a1e
Allow custom headers in multipart/form-data requests ( #1936 )
...
* feat: allow passing multipart headers
* Add test for including content-type in headers
* lint
* override content_type with headers
* compare tuples based on length
* incorporate suggestion
* remove .title() on headers
2022-01-13 08:49:14 +00:00