]>
git.ipfire.org Git - thirdparty/httpx.git/log
Jt Miclat [Sun, 6 Oct 2019 00:20:18 +0000 (08:20 +0800)]
Add documentation for requests.Session compatibility (#449)
Florimond Manca [Sun, 6 Oct 2019 00:12:06 +0000 (02:12 +0200)]
Don't check trio import in definition of backend fixture params (#447)
Josep Cugat [Sat, 5 Oct 2019 13:26:34 +0000 (15:26 +0200)]
Remove wheels package from test-requirements.txt (#448)
Florimond Manca [Fri, 4 Oct 2019 20:36:06 +0000 (22:36 +0200)]
Fix flaky Response.elapsed tests (#446)
Andrew M. White [Fri, 4 Oct 2019 19:46:58 +0000 (12:46 -0700)]
Ensure py.typed makes it into source distributions. (#441)
Can Sarıgöl [Fri, 4 Oct 2019 09:33:18 +0000 (12:33 +0300)]
Don't include username/password components in `Host` header (#417)
* removed auth and port from host of header
* used URL attribute rather _uri_reference
* reverted removing port into host
* reverted username and password from header
* applied new copy_with with username and password
Can Sarıgöl [Fri, 4 Oct 2019 08:17:25 +0000 (11:17 +0300)]
added authority copy feature in URL.copy_with (#436)
nwalsh1995 [Fri, 4 Oct 2019 01:08:27 +0000 (18:08 -0700)]
Fix link to parallel page from async page (#440)
Davit Tovmasyan [Fri, 4 Oct 2019 00:47:19 +0000 (04:47 +0400)]
Document the files parameter on .post(), .patch(), and .put() (#409) (#414)
Jt Miclat [Fri, 4 Oct 2019 00:46:24 +0000 (08:46 +0800)]
Document compatibility difference for get, delete, head, and options (#418)
Josep Cugat [Thu, 3 Oct 2019 21:35:38 +0000 (23:35 +0200)]
Build and upload universal wheels to PyPI (#439)
Josep Cugat [Thu, 3 Oct 2019 08:18:10 +0000 (10:18 +0200)]
Revert "Use Python 3.8 asyncio.Stream where possible (#369)" (#423)
This reverts commit
71cbde8ba4cab32dd96ccb91e9db20216587fae9.
Kyle Galbraith [Wed, 2 Oct 2019 16:46:54 +0000 (09:46 -0700)]
Fix typos, spelling issues, and grammar in docs (#426)
Seth Michael Larson [Wed, 2 Oct 2019 15:34:00 +0000 (10:34 -0500)]
Python 3.8-dev builds on Travis (#425)
Josep Cugat [Tue, 1 Oct 2019 18:37:05 +0000 (20:37 +0200)]
Make HTTPError importable from the top-level (#421)
Stephen Brown II [Tue, 1 Oct 2019 17:02:29 +0000 (11:02 -0600)]
Add flake8-pie plugin (#419)
Quentin Pradet [Tue, 1 Oct 2019 07:30:20 +0000 (11:30 +0400)]
Add AsyncIO and Trio trove classifiers (#416)
Dustin Ingram [Mon, 30 Sep 2019 19:19:53 +0000 (14:19 -0500)]
Fix broken docs (#415)
* Fix broken link to parallel request page
* Fix incomplete code block on quickstart page
Seth Michael Larson [Sun, 29 Sep 2019 18:58:22 +0000 (13:58 -0500)]
Get test suite back to ~100% line coverage (#406)
Ahmed Maher [Sat, 28 Sep 2019 19:55:19 +0000 (22:55 +0300)]
Expose ASGIDispatch & WSGIDispatch in the 'dispatch' namespace. (#407)
Jt Miclat [Sat, 28 Sep 2019 17:47:26 +0000 (01:47 +0800)]
Fix wrongly deleted params introduced #408 (#410)
Jamie Hewland [Sat, 28 Sep 2019 17:23:14 +0000 (19:23 +0200)]
Use Python 3.8 asyncio.Stream where possible (#369)
Jt Miclat [Sat, 28 Sep 2019 17:18:40 +0000 (01:18 +0800)]
Remove data, json and files parameters in delete() function (#408)
Florimond Manca [Thu, 26 Sep 2019 11:45:38 +0000 (13:45 +0200)]
Release 0.7.4 (#388)
Florimond Manca [Thu, 26 Sep 2019 11:43:56 +0000 (13:43 +0200)]
Document supported async libraries (#387)
* Document supported async libraries
* Update async.md
Florimond Manca [Thu, 26 Sep 2019 11:02:25 +0000 (13:02 +0200)]
Remove trio redundant extra (#390)
Seth Michael Larson [Wed, 25 Sep 2019 12:17:20 +0000 (07:17 -0500)]
Propogate HTTPProxy config from Client(#377)
Florimond Manca [Wed, 25 Sep 2019 11:31:50 +0000 (13:31 +0200)]
Fix bug when using client without timeouts in Python 3.6 (#383)
Jamie Hewland [Tue, 24 Sep 2019 19:43:21 +0000 (21:43 +0200)]
Run isort in the nox check session (#379)
Seth Michael Larson [Tue, 24 Sep 2019 15:02:46 +0000 (10:02 -0500)]
Add debug logging to SSLConfig (#378)
Florimond Manca [Mon, 23 Sep 2019 20:49:24 +0000 (22:49 +0200)]
Add debug logs to ASGIDispatch (#371)
* Add debug logs to ASGIDispatch
* Tidy up ASGIDispatch
* Log entire scope and ASGI messages
* Obfuscate sensitive headers using common utility
* Update utils.py
Can Sarıgöl [Mon, 23 Sep 2019 15:24:53 +0000 (18:24 +0300)]
Add support for SSL_CERT_FILE and SSL_CERT_DIR (#307)
秋葉 [Mon, 23 Sep 2019 14:53:50 +0000 (22:53 +0800)]
Fix invalid f-string (#375)
Tyrel Souza [Mon, 23 Sep 2019 14:22:21 +0000 (10:22 -0400)]
Adding params to Client (#372)
Seth Michael Larson [Sun, 22 Sep 2019 22:37:57 +0000 (17:37 -0500)]
Remove ENABLE_CONNECT_PROTOCOL from HTTP/2 Settings (#373)
Florimond Manca [Sat, 21 Sep 2019 17:02:02 +0000 (19:02 +0200)]
Add tool for profiling (#364)
Florimond Manca [Sat, 21 Sep 2019 16:10:20 +0000 (18:10 +0200)]
Add trio concurrency backend (#276)
Florimond Manca [Sat, 21 Sep 2019 07:12:53 +0000 (09:12 +0200)]
Document the release process (#363)
* Document release process
* Update changelog instructions w/ ref to keepachangelog
* Prettify bullet points
* Add docs deploy to release script
Florimond Manca [Fri, 20 Sep 2019 19:05:02 +0000 (21:05 +0200)]
Release 0.7.3 (#362)
* Release 0.7.3
* Put Removed before Fixed
* Add reference to keepachangelog
* Add HTTP Proxy entry
Seth Michael Larson [Fri, 20 Sep 2019 17:33:06 +0000 (12:33 -0500)]
Configure Proxy from Client (#353)
* Incorporate suggestions
* Start of proxy config
* Incorporate suggestions
* Add proxies to high-level API, docs
* Update client.py
Florimond Manca [Thu, 19 Sep 2019 16:13:20 +0000 (18:13 +0200)]
Add zip_safe=False to setup() (#361)
This fixes `py.typed` not being included in the built package
Jamie Hewland [Wed, 18 Sep 2019 23:59:27 +0000 (01:59 +0200)]
Use a certificate issued from the trustme CA in tests (#357)
Roy Williams [Wed, 18 Sep 2019 18:29:01 +0000 (14:29 -0400)]
Add `.elapsed` onto Response objects tracking how long a request took. (#351)
* Add `.elapsed` onto Response objects tracking how long a request took.
* Move elapsed timing from send methods into _get_response
* Address feedback
* Update tests/test_api.py
Co-Authored-By: Florimond Manca <florimond.manca@gmail.com>
Yeray Diaz Diaz [Mon, 16 Sep 2019 11:50:00 +0000 (12:50 +0100)]
Document digest auth (#348)
* Document authentication
* Fix linting errors
* Tweak wording
* Update docs/quickstart.md
Co-Authored-By: Florimond Manca <florimond.manca@gmail.com>
Florimond Manca [Mon, 16 Sep 2019 06:34:26 +0000 (08:34 +0200)]
Fix remaining references to BaseStream in tests (#347)
Florimond Manca [Sun, 15 Sep 2019 21:14:48 +0000 (23:14 +0200)]
Stream -> TCPStream (#339)
Florimond Manca [Sun, 15 Sep 2019 16:29:37 +0000 (18:29 +0200)]
Document + recommend async with syntax for AsyncClient (#344)
Seth Michael Larson [Sun, 15 Sep 2019 15:47:35 +0000 (10:47 -0500)]
Implement HTTPProxy dispatcher (#259)
Florimond Manca [Thu, 12 Sep 2019 21:24:33 +0000 (23:24 +0200)]
Test Requests entrypoints (#330)
* Test Requests entrypoints
* Show summary of unsuccessful tests
Paul (xobb) Chubatyy [Thu, 12 Sep 2019 20:39:22 +0000 (13:39 -0700)]
Add example of specifying HTTP versions (#337)
Closes #336
Yeray Diaz Diaz [Wed, 11 Sep 2019 12:25:11 +0000 (13:25 +0100)]
Additional DigestAuth tests (#334)
Yeray Diaz Diaz [Tue, 10 Sep 2019 19:53:39 +0000 (20:53 +0100)]
Add DigestAuth middleware (#332)
* Remove global variable, just return response from auth request
* Add extra space to Digest header start assertion
* Prevent unpacking errors limiting the number of splits
Dobrovolsky Bogdan [Sun, 8 Sep 2019 13:03:59 +0000 (16:03 +0300)]
Add `build_request` to `Client` (#319)
* Update documentation
* Update documentation
* Update tests
Rename `_send` -> `_get_response`
Update documentation
* Code format with black
* Change documentation example to OPTIONS *
* Update documentation
Small code reformat
* `echo_headers` return json
* Simplify test
* Fix typo
Florimond Manca [Sat, 7 Sep 2019 21:22:11 +0000 (23:22 +0200)]
Refactor middleware (#325)
* Split middleware into a subpackage
* Refactor basic auth header building
* Add encoding parameter to to_bytes()
Gaurav Dhameeja [Sat, 7 Sep 2019 21:12:37 +0000 (02:42 +0530)]
Raise KeyError if header isn't found in Headers (#324)
Florimond Manca [Sat, 7 Sep 2019 04:32:38 +0000 (06:32 +0200)]
Pin uvloop to fix 3.8-dev compilation issue (#323)
IsaacBenghiat [Fri, 6 Sep 2019 18:06:20 +0000 (14:06 -0400)]
Fix bug in calculating maximum frame size (#153)
Gaurav Dhameeja [Fri, 6 Sep 2019 01:30:19 +0000 (07:00 +0530)]
Set Host header when redirecting cross-origin (#321)
Tom Christie [Thu, 5 Sep 2019 09:22:48 +0000 (10:22 +0100)]
Merge pull request #315 from cansarigol/hstspreload-doc
added hstspreload in Dependencies docs
Tom Christie [Thu, 5 Sep 2019 09:21:21 +0000 (10:21 +0100)]
Merge pull request #310 from encode/drop-content-length-on-get-redirects
Drop Content-Length headers on GET redirects
can [Thu, 5 Sep 2019 07:40:06 +0000 (10:40 +0300)]
added hstspreload in Dependencies docs
Tom Christie [Wed, 4 Sep 2019 14:11:40 +0000 (15:11 +0100)]
Apply black formatting
Tom Christie [Wed, 4 Sep 2019 14:10:55 +0000 (15:10 +0100)]
Strip Transfer-Encoding when a switch-to-GET redirect is made
Tom Christie [Wed, 4 Sep 2019 14:06:25 +0000 (15:06 +0100)]
Merge branch 'drop-content-length-on-get-redirects' of https://github.com/encode/httpx into drop-content-length-on-get-redirects
Tom Christie [Wed, 4 Sep 2019 14:06:14 +0000 (15:06 +0100)]
Add tests for dropping Content-Length headers
Tom Christie [Wed, 4 Sep 2019 13:18:12 +0000 (14:18 +0100)]
Merge pull request #314 from dobrovolsky/drop_npn
Drop NPN support
Dobrovolsky Bogdan [Wed, 4 Sep 2019 13:01:29 +0000 (16:01 +0300)]
Remove NPN support
Yeray Diaz Diaz [Wed, 4 Sep 2019 11:43:24 +0000 (12:43 +0100)]
Add test for origin from URL string (#312)
florimondmanca [Tue, 3 Sep 2019 17:22:03 +0000 (19:22 +0200)]
Remove example script
Tom Christie [Tue, 3 Sep 2019 14:02:40 +0000 (15:02 +0100)]
White whitespacing
Tom Christie [Tue, 3 Sep 2019 14:01:37 +0000 (15:01 +0100)]
Apply black formatting (Tho it looks like a broken case to me?)
Tom Christie [Tue, 3 Sep 2019 13:36:03 +0000 (14:36 +0100)]
Drop Content-Length headers on GET redirects
Seth Michael Larson [Mon, 2 Sep 2019 21:12:52 +0000 (16:12 -0500)]
Add os.environ fixture (#308)
Florimond Manca [Sun, 1 Sep 2019 21:01:14 +0000 (23:01 +0200)]
Refactor client functionality into middleware (#268)
Co-authored-by: yeraydiazdiaz <yeraydiazdiaz@gmail.com>
* Dispatcher middlewares
* Redirect and BasicAuth dispatchers
* Remove HTTPBasicAuth and reinstate trust_env logic
* Call resolve dispatcher correctly
* Fix redirection tests
* Add basic and custom auth dispatchers
* Reinstate extracting cookies from response
* Fix linting
* Refactor middleware interface
Tomás Farías [Sun, 1 Sep 2019 13:01:11 +0000 (10:01 -0300)]
Add support for SSLKEYLOGFILE (#301)
* Skip test if OpenSSL version is lower than 1.1.1
* Use bionic dist for Python 3.8 job
* Pass trust_env to SSLConfig use monkeypatch in testing
* Don't raise KeyError if SSLKEYLOGFILE is not set
* Move trust_env after verify and cert
Bakhtiyor Ruziev [Sun, 1 Sep 2019 07:07:22 +0000 (10:07 +0300)]
Add server.url property in tests (#300)
* Add server.url to test server
* Move a property to top of the class
Florimond Manca [Sat, 31 Aug 2019 14:09:35 +0000 (16:09 +0200)]
Tighten up response.next() (#297)
Florimond Manca [Thu, 29 Aug 2019 21:17:14 +0000 (23:17 +0200)]
Serve test server in thread (#292)
Min ho Kim [Thu, 29 Aug 2019 17:14:15 +0000 (03:14 +1000)]
Fix typos in comments (#294)
Seth Michael Larson [Thu, 29 Aug 2019 12:19:02 +0000 (07:19 -0500)]
Release 0.7.2 (#291)
toppk [Wed, 28 Aug 2019 00:25:30 +0000 (20:25 -0400)]
Automatically convert Client.cookies and Client.headers on set (#274)
Jt Miclat [Tue, 27 Aug 2019 16:51:36 +0000 (00:51 +0800)]
Allow per file running of tests (#287)
* Allow per file running of tests
* Simply PR
Seth Michael Larson [Tue, 27 Aug 2019 16:43:13 +0000 (11:43 -0500)]
Add easier debug logging for users (#277)
Co-Authored-By: Florimond Manca <florimond.manca@gmail.com>
Jt Miclat [Tue, 27 Aug 2019 16:08:50 +0000 (00:08 +0800)]
Stop running nox on first error (#286)
Seth Michael Larson [Tue, 27 Aug 2019 12:54:11 +0000 (07:54 -0500)]
Force HTTP/1.1 on short-lived connections (#284)
Florimond Manca [Mon, 26 Aug 2019 20:16:51 +0000 (22:16 +0200)]
Add tests to known first parties in isort config (#279)
Florimond Manca [Sun, 25 Aug 2019 18:25:18 +0000 (20:25 +0200)]
Parametrize tests with concurrency backend (#273)
* Parametrize tests with concurrency backend
* Refactor server restart
* Add no-backend test
Seth Michael Larson [Sat, 24 Aug 2019 15:04:14 +0000 (10:04 -0500)]
Add ConcurrencyBackend.start_tls() (#263)
Florimond Manca [Fri, 23 Aug 2019 12:04:21 +0000 (14:04 +0200)]
Add missing async test cases (#269)
Seth Michael Larson [Fri, 23 Aug 2019 12:00:13 +0000 (07:00 -0500)]
Rely on codecov for 100% project coverage (#264)
Florimond Manca [Fri, 23 Aug 2019 00:26:09 +0000 (02:26 +0200)]
Add backend param to ASGIDispatcher (#270)
Hugo van Kemenade [Thu, 22 Aug 2019 15:30:02 +0000 (18:30 +0300)]
Travis sudo no longer required for Xenial (#266)
Florimond Manca [Wed, 21 Aug 2019 21:11:12 +0000 (23:11 +0200)]
Remove usage of loop.create_task in ASGIDispatch (#261)
* Remove usage of loop.create_task in ASGIDispatch
* Add comment about usage of background manager
* Update comment
Tom Christie [Wed, 21 Aug 2019 08:38:39 +0000 (09:38 +0100)]
Merge pull request #255 from encode/refactor/stream-interface
Unify BaseReader and BaseWriter as BaseStream
florimondmanca [Wed, 21 Aug 2019 07:12:01 +0000 (09:12 +0200)]
Encapsulate http_version into BaseStream
florimondmanca [Tue, 20 Aug 2019 20:53:47 +0000 (22:53 +0200)]
Unify BaseReader and BaseWriter as BaseStream
Florimond Manca [Wed, 21 Aug 2019 07:02:04 +0000 (09:02 +0200)]
Add BaseEvent interface (#260)
Tom Christie [Wed, 21 Aug 2019 06:35:01 +0000 (07:35 +0100)]
Refactor interfaces (#252)
* Move Dispatcher, AsyncDispatcher into dispatch/base.py
* Move concurrency interfaces into concurrency/base.py
Can Sarıgöl [Tue, 20 Aug 2019 22:39:05 +0000 (01:39 +0300)]
Raise TypeError if invalid parameter for HTTPVersionConfig (#253)
Florimond Manca [Tue, 20 Aug 2019 22:25:46 +0000 (00:25 +0200)]
Add BaseQueue interface (#257)