]>
git.ipfire.org Git - thirdparty/httpx.git/log
Stephen Brown II [Wed, 24 Jul 2019 15:28:16 +0000 (10:28 -0500)]
Allow string comparison for URL().__eq__ (#139)
Stephen Brown II [Mon, 22 Jul 2019 20:13:00 +0000 (15:13 -0500)]
Additional HTTP Status Codes 418, 451 (#135)
Tom Christie [Fri, 19 Jul 2019 14:44:17 +0000 (15:44 +0100)]
Update README.md
Tom Christie [Fri, 19 Jul 2019 14:43:04 +0000 (15:43 +0100)]
Update README.md
Tom Christie [Fri, 19 Jul 2019 14:41:18 +0000 (15:41 +0100)]
Update README.md
Tom Christie [Fri, 19 Jul 2019 14:40:32 +0000 (15:40 +0100)]
Update README.md
Tom Christie [Fri, 19 Jul 2019 14:38:53 +0000 (15:38 +0100)]
Update README.md
Tom Christie [Fri, 19 Jul 2019 14:38:08 +0000 (15:38 +0100)]
Update README.md
Tom Christie [Fri, 19 Jul 2019 14:37:25 +0000 (15:37 +0100)]
Update README.md
Tom Christie [Fri, 19 Jul 2019 14:37:02 +0000 (15:37 +0100)]
Update README.md
Tom Christie [Fri, 19 Jul 2019 14:36:36 +0000 (15:36 +0100)]
Branding updates for httpx (#130)
Tom Christie [Fri, 19 Jul 2019 14:20:15 +0000 (15:20 +0100)]
Rename -> httpx
Tom Christie [Fri, 19 Jul 2019 14:15:16 +0000 (15:15 +0100)]
Renaming -> httpx (#129)
* Renaming -> httpx
* Renaming to httpx
ambrozic [Thu, 18 Jul 2019 11:00:02 +0000 (12:00 +0100)]
Multipart data values encoding (#121)
* multipart data values encoding (#119)
* Update test_multipart.py
Seth Michael Larson [Thu, 18 Jul 2019 10:41:50 +0000 (05:41 -0500)]
Start using flake8, fix lint issues (#126)
Seth Michael Larson [Tue, 16 Jul 2019 09:08:57 +0000 (04:08 -0500)]
Support client cert passwords, new TLS options (#118)
* Support client cert passwords, new TLS options
* Update test_config.py
* Switch to try-except for post_handshake_auth=True
SSLContext.post_handshake_auth raises AttributeError if the property is available but cannot be written to (needs OpenSSL 1.1.1+)
* Also try-except for hostname_checks_common_name=False
* Custom implementation of trustme.CA() that emits encrypted PKs
* lint
* Split name of test
* Updates from review comments
* Don't load default CAs yet
Yeray Diaz Diaz [Thu, 11 Jul 2019 16:14:58 +0000 (17:14 +0100)]
Encoding detection in Response.json (#116)
* Use response text on `json`
Pass kwargs to the loads call
* Add failing test demonstrating corner case
* Copy `guess_json_utf` function from requests
* "Fix" type hinting and lint
* Actually add tests_utils.py
Tom Christie [Mon, 8 Jul 2019 14:58:44 +0000 (15:58 +0100)]
Version 0.6.7
Tom Christie [Mon, 8 Jul 2019 14:57:29 +0000 (15:57 +0100)]
Check for connection aliveness on pool re-acquiry (#111)
* Check for connection aliveness on pool re-acquiry
* Test for connection re-acquiry with HTTP/2
* nocover on HTTP/1.1 ConnectionResetError, since we're testing the equivelent on HTTP/2
* Fix setup.py to read version from __version__
Tom Christie [Wed, 3 Jul 2019 09:33:38 +0000 (10:33 +0100)]
Minor tweaks in line with requests behavior (#110)
Tom Christie [Thu, 27 Jun 2019 15:46:58 +0000 (16:46 +0100)]
Version 0.6.5
Tom Christie [Thu, 27 Jun 2019 15:46:13 +0000 (16:46 +0100)]
Include host header directly (#109)
* Improve HTTP protocol detection
* Include host header when request is instantiated
* Add raise_app_exceptions
* Tweaks to ASGI dispatching
* Linting
* Don't quote multipart values
* Tweak decoder ordering in header
* Allow str data in request bodys
Tom Christie [Tue, 25 Jun 2019 16:13:16 +0000 (17:13 +0100)]
Improve HTTP protocol detection (#107)
Tom Christie [Tue, 25 Jun 2019 12:24:12 +0000 (13:24 +0100)]
Version 0.6.4 (#105)
* Read/Write timeout modes
* Read/Write timeout modes
* Tweaks for read/write timeout modes
* Version 0.6.4
* Make slow_response slower for timeout test
Tom Christie [Tue, 25 Jun 2019 11:54:14 +0000 (12:54 +0100)]
Read/Write timeout modes (#104)
* Read/Write timeout modes
* Read/Write timeout modes
Tom Christie [Mon, 24 Jun 2019 15:54:24 +0000 (16:54 +0100)]
Version 0.6.3
Tom Christie [Mon, 24 Jun 2019 15:53:42 +0000 (16:53 +0100)]
Handle early connection closes (#103)
* Refactoring h11 implementation
* More h11 refactoring
* Support early connection closes on H11 connections
* Tweak comment
* Refactor concurrent read/writes
* Drop WriteTimeout masking
* Linting
* Use concurrent read/writes for HTTP2
* Push background sending into ConcurrencyBackend
updatatoday [Sun, 23 Jun 2019 10:37:00 +0000 (13:37 +0300)]
Fixed response repr. (#101)
* Fixed response repr.
* Fixed response repr tests.
Tom Christie [Sun, 23 Jun 2019 10:24:17 +0000 (11:24 +0100)]
Use urllib3's DEFAULT_CIPHERS for ssl config (#100)
Tom Christie [Fri, 21 Jun 2019 15:44:40 +0000 (16:44 +0100)]
Version 0.6.1
Tom Christie [Fri, 21 Jun 2019 14:03:01 +0000 (15:03 +0100)]
Support Client(base_url=...)
Tom Christie [Fri, 21 Jun 2019 12:50:19 +0000 (13:50 +0100)]
Version 0.6.0
Tom Christie [Fri, 21 Jun 2019 12:49:25 +0000 (13:49 +0100)]
Honour 'local_flow_control_window' (#98)
Tom Christie [Tue, 18 Jun 2019 15:02:18 +0000 (16:02 +0100)]
Tweak README
Tom Christie [Tue, 18 Jun 2019 14:54:41 +0000 (15:54 +0100)]
Version 0.5.0
Tom Christie [Tue, 18 Jun 2019 14:53:33 +0000 (15:53 +0100)]
Support WSGI and ASGI apps. (#94)
* Add 'Client(app=...)' support
* Add ASGI support with Client(app=app)
* Improve exc cases when using client with ASGI
* Tighten up exception handling when using as a test client
* Fix up stream I/O for WSGI/ASGI apps
* Docs for WSGI/ASGI integration
Tom Christie [Mon, 17 Jun 2019 16:28:27 +0000 (17:28 +0100)]
Tweak compat docs
Tom Christie [Mon, 17 Jun 2019 15:55:24 +0000 (16:55 +0100)]
Version 0.1.1
Tom Christie [Mon, 17 Jun 2019 15:53:39 +0000 (16:53 +0100)]
Int status codes (#92)
* Use plain int for response.status_code
* Linting
Tom Christie [Mon, 17 Jun 2019 13:52:44 +0000 (14:52 +0100)]
Version 0.1
Tom Christie [Mon, 17 Jun 2019 13:51:40 +0000 (14:51 +0100)]
Add multipart docs
Tom Christie [Mon, 17 Jun 2019 13:38:24 +0000 (14:38 +0100)]
Multipart support (#90)
* Multipart support
* Test compat with 3.6
Tom Christie [Thu, 13 Jun 2019 15:19:39 +0000 (16:19 +0100)]
Tweaks (#89)
* Close redirect responses
* History should not be reverse-order
* History should not be reverse-order
* Docs updates
Tom Christie [Thu, 13 Jun 2019 13:38:56 +0000 (14:38 +0100)]
Close redirect responses (#88)
Tom Christie [Thu, 13 Jun 2019 13:03:22 +0000 (14:03 +0100)]
Add Cookies docs
Tom Christie [Wed, 12 Jun 2019 15:25:48 +0000 (16:25 +0100)]
'For Python 3'
Tom Christie [Wed, 12 Jun 2019 15:24:33 +0000 (16:24 +0100)]
Docs links
Tom Christie [Wed, 12 Jun 2019 15:06:17 +0000 (16:06 +0100)]
Merge branch 'master' of https://github.com/encode/http3
Tom Christie [Wed, 12 Jun 2019 15:06:09 +0000 (16:06 +0100)]
Docs tweaks
Tom Christie [Wed, 12 Jun 2019 14:35:02 +0000 (15:35 +0100)]
Delete CNAME
Tom Christie [Wed, 12 Jun 2019 14:29:11 +0000 (15:29 +0100)]
Add mkdocs to requirements
Tom Christie [Wed, 12 Jun 2019 14:28:39 +0000 (15:28 +0100)]
Create CNAME
Tom Christie [Wed, 12 Jun 2019 14:13:44 +0000 (15:13 +0100)]
Update README.md
Tom Christie [Wed, 12 Jun 2019 14:12:46 +0000 (15:12 +0100)]
Tweak README (#87)
Tom Christie [Wed, 12 Jun 2019 14:02:16 +0000 (15:02 +0100)]
http3 (#86)
* Start fleshing out documentation
* Docs work
* http3
* Update docs
* Include lowercase status codes, for requests compat
* Updating docs
* Docs tweaks
Tom Christie [Mon, 10 Jun 2019 17:45:15 +0000 (18:45 +0100)]
Add params keyword argument throughout (#85)
Tom Christie [Mon, 10 Jun 2019 11:26:03 +0000 (12:26 +0100)]
Sync or Async dispatch (#83)
* Support thread-pooled dispatch
* Add ConcurrencyBackend.run
* Initial work towards support byte-iterators on sync request data
* Test case for byte iterator content
* byte iterator support for RequestData
* Add BaseResponse
* Bridge sync/async data in SyncResponse
* Add BaseClient
* SyncResponse -> Response
* Tweaking type annotation
* Distinct classes for Request, AsyncRequest
* Tweak is_streaming, content in BaseRequest
* Stream handling moves to client
* Handle mediating to AsyncResponse from a standard sync Dispatcher class
* Working on thread-pooled dispatcher
* Support threaded dispatch, inc. streaming requests/responses
* Increase test coverage
* Coverage and tweaks
* Include Accept and User-Agent headers by default
Tom Christie [Thu, 6 Jun 2019 14:24:01 +0000 (15:24 +0100)]
Version 0.4.0
Tom Christie [Thu, 6 Jun 2019 13:44:32 +0000 (14:44 +0100)]
Version 0.3.1
Tom Christie [Tue, 28 May 2019 13:39:57 +0000 (14:39 +0100)]
Drop Host header for HTTP/2 (#82)
Tom Christie [Sat, 25 May 2019 19:25:44 +0000 (20:25 +0100)]
Handle StreamReset, and acknowledge received data (#81)
Tom Christie [Fri, 24 May 2019 12:41:18 +0000 (13:41 +0100)]
Drop prepare_request
Tom Christie [Fri, 24 May 2019 12:40:04 +0000 (13:40 +0100)]
Drop prepare_request
Tom Christie [Fri, 24 May 2019 11:10:06 +0000 (12:10 +0100)]
Drop unintended test module
Tom Christie [Fri, 24 May 2019 09:35:12 +0000 (10:35 +0100)]
Update README.md
Tom Christie [Fri, 24 May 2019 09:34:16 +0000 (10:34 +0100)]
Update README.md
Tom Christie [Fri, 24 May 2019 09:27:35 +0000 (10:27 +0100)]
Status code tweaks (#77)
* Add top-level API
* Add tests for top-level API
* Further work towards parallel support
* StatusCode tweaks
* Drop erronous commit
Tom Christie [Thu, 23 May 2019 15:45:07 +0000 (16:45 +0100)]
Tweak API
Tom Christie [Thu, 23 May 2019 15:21:00 +0000 (16:21 +0100)]
Work on bringing API into parity with `requests`. (#76)
* Finesse timeout argument.
* Drop unused imports
* Add 'cert' and 'verify' arguments
Tom Christie [Mon, 20 May 2019 13:30:52 +0000 (14:30 +0100)]
Add top-level API (#75)
* Add top-level API
* Add tests for top-level API
Tom Christie [Fri, 17 May 2019 13:43:22 +0000 (14:43 +0100)]
Add json interfaces
Tom Christie [Fri, 17 May 2019 13:29:36 +0000 (14:29 +0100)]
Add response.json()
Tom Christie [Fri, 17 May 2019 12:49:24 +0000 (13:49 +0100)]
Tweak test naming
Tom Christie [Fri, 17 May 2019 12:42:02 +0000 (13:42 +0100)]
Tweak
Tom Christie [Fri, 17 May 2019 12:25:19 +0000 (13:25 +0100)]
Tweak
Tom Christie [Fri, 17 May 2019 12:15:39 +0000 (13:15 +0100)]
Tweak
Tom Christie [Fri, 17 May 2019 12:09:31 +0000 (13:09 +0100)]
query_params -> params
Tom Christie [Fri, 17 May 2019 12:06:26 +0000 (13:06 +0100)]
query_params -> params
Tom Christie [Fri, 17 May 2019 12:01:49 +0000 (13:01 +0100)]
Add cookie interfaces
Tom Christie [Fri, 17 May 2019 11:51:00 +0000 (12:51 +0100)]
Cookie support (#73)
* Initial pass at cookie support
* Add Cookies model
* Support cookie persistence
Tom Christie [Fri, 17 May 2019 11:41:36 +0000 (12:41 +0100)]
Support cookie persistence
Tom Christie [Fri, 17 May 2019 10:45:02 +0000 (11:45 +0100)]
Add Cookies model
Tom Christie [Fri, 17 May 2019 09:00:56 +0000 (10:00 +0100)]
Add Cookies model
Tom Christie [Thu, 16 May 2019 15:44:33 +0000 (16:44 +0100)]
Initial pass at cookie support
Tom Christie [Thu, 16 May 2019 11:42:49 +0000 (12:42 +0100)]
Version 0.3.0 (#72)
Tom Christie [Thu, 16 May 2019 10:16:29 +0000 (11:16 +0100)]
Update README.md
Tom Christie [Thu, 16 May 2019 10:14:21 +0000 (11:14 +0100)]
100% test coverage (#71)
Yeray Diaz Diaz [Thu, 16 May 2019 10:00:45 +0000 (11:00 +0100)]
Add test for write timeout error (#67)
* Add test for write timeout error
* Bump up write data 10x
Tom Christie [Thu, 16 May 2019 09:56:05 +0000 (10:56 +0100)]
Drop unused interface on ConnectionStore (#70)
Tom Christie [Thu, 16 May 2019 09:48:19 +0000 (10:48 +0100)]
Drop unreachable except block (#69)
Tom Christie [Thu, 16 May 2019 09:21:24 +0000 (10:21 +0100)]
Add 100-continue test (#68)
Tom Christie [Wed, 15 May 2019 15:48:46 +0000 (16:48 +0100)]
Update README.md
Tom Christie [Wed, 15 May 2019 15:43:35 +0000 (16:43 +0100)]
Auth (#65)
* Initial work towards auth
* Add auth support
* Add test for custom auth
* Support auth-in-URL
* Support auth-on-session
Yeray Diaz Diaz [Wed, 15 May 2019 13:30:00 +0000 (14:30 +0100)]
Include URL.__hash__ in test (#64)
* Include URL.__hash__ in test
* Add test for URLs being used in a set
Remove hash assertion on test requests
* Cleanup models.py
* Use membership test instead of equality to avoid ordering problems
Tom Christie [Tue, 14 May 2019 14:27:25 +0000 (15:27 +0100)]
Drop top-level imports that don't need to be public API
Tom Christie [Tue, 14 May 2019 13:36:37 +0000 (14:36 +0100)]
Merge pull request #61 from yeraydiazdiaz/test-config
Test config
Tom Christie [Tue, 14 May 2019 13:35:55 +0000 (14:35 +0100)]
Linting
Tom Christie [Tue, 14 May 2019 13:35:47 +0000 (14:35 +0100)]
repr change: <SyncResponse ...> -> <Response ...>
Tom Christie [Tue, 14 May 2019 13:34:43 +0000 (14:34 +0100)]
Tidy up redirect tests
Tom Christie [Tue, 14 May 2019 13:31:12 +0000 (14:31 +0100)]
Merge pull request #60 from encode/concurrency-backend-class
Add `ConcurrencyBackend` interface