]> git.ipfire.org Git - thirdparty/httpx.git/log
thirdparty/httpx.git
6 years agoMerge branch 'master' of https://github.com/encode/http3
Tom Christie [Wed, 12 Jun 2019 15:06:17 +0000 (16:06 +0100)] 
Merge branch 'master' of https://github.com/encode/http3

6 years agoDocs tweaks
Tom Christie [Wed, 12 Jun 2019 15:06:09 +0000 (16:06 +0100)] 
Docs tweaks

6 years agoDelete CNAME
Tom Christie [Wed, 12 Jun 2019 14:35:02 +0000 (15:35 +0100)] 
Delete CNAME

6 years agoAdd mkdocs to requirements
Tom Christie [Wed, 12 Jun 2019 14:29:11 +0000 (15:29 +0100)] 
Add mkdocs to requirements

6 years agoCreate CNAME
Tom Christie [Wed, 12 Jun 2019 14:28:39 +0000 (15:28 +0100)] 
Create CNAME

6 years agoUpdate README.md
Tom Christie [Wed, 12 Jun 2019 14:13:44 +0000 (15:13 +0100)] 
Update README.md

6 years agoTweak README (#87)
Tom Christie [Wed, 12 Jun 2019 14:12:46 +0000 (15:12 +0100)] 
Tweak README (#87)

6 years agohttp3 (#86)
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

6 years agoAdd params keyword argument throughout (#85)
Tom Christie [Mon, 10 Jun 2019 17:45:15 +0000 (18:45 +0100)] 
Add params keyword argument throughout (#85)

6 years agoSync or Async dispatch (#83)
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

6 years agoVersion 0.4.0 0.4.0
Tom Christie [Thu, 6 Jun 2019 14:24:01 +0000 (15:24 +0100)] 
Version 0.4.0

6 years agoVersion 0.3.1 0.3.1
Tom Christie [Thu, 6 Jun 2019 13:44:32 +0000 (14:44 +0100)] 
Version 0.3.1

6 years agoDrop Host header for HTTP/2 (#82)
Tom Christie [Tue, 28 May 2019 13:39:57 +0000 (14:39 +0100)] 
Drop Host header for HTTP/2 (#82)

6 years agoHandle StreamReset, and acknowledge received data (#81)
Tom Christie [Sat, 25 May 2019 19:25:44 +0000 (20:25 +0100)] 
Handle StreamReset, and acknowledge received data (#81)

6 years agoDrop prepare_request
Tom Christie [Fri, 24 May 2019 12:41:18 +0000 (13:41 +0100)] 
Drop prepare_request

6 years agoDrop prepare_request
Tom Christie [Fri, 24 May 2019 12:40:04 +0000 (13:40 +0100)] 
Drop prepare_request

6 years agoDrop unintended test module
Tom Christie [Fri, 24 May 2019 11:10:06 +0000 (12:10 +0100)] 
Drop unintended test module

6 years agoUpdate README.md
Tom Christie [Fri, 24 May 2019 09:35:12 +0000 (10:35 +0100)] 
Update README.md

6 years agoUpdate README.md
Tom Christie [Fri, 24 May 2019 09:34:16 +0000 (10:34 +0100)] 
Update README.md

6 years agoStatus code tweaks (#77)
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

6 years agoTweak API
Tom Christie [Thu, 23 May 2019 15:45:07 +0000 (16:45 +0100)] 
Tweak API

6 years agoWork on bringing API into parity with `requests`. (#76)
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

6 years agoAdd top-level API (#75)
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

6 years agoAdd json interfaces
Tom Christie [Fri, 17 May 2019 13:43:22 +0000 (14:43 +0100)] 
Add json interfaces

6 years agoAdd response.json()
Tom Christie [Fri, 17 May 2019 13:29:36 +0000 (14:29 +0100)] 
Add response.json()

6 years agoTweak test naming
Tom Christie [Fri, 17 May 2019 12:49:24 +0000 (13:49 +0100)] 
Tweak test naming

6 years agoTweak
Tom Christie [Fri, 17 May 2019 12:42:02 +0000 (13:42 +0100)] 
Tweak

6 years agoTweak
Tom Christie [Fri, 17 May 2019 12:25:19 +0000 (13:25 +0100)] 
Tweak

6 years agoTweak
Tom Christie [Fri, 17 May 2019 12:15:39 +0000 (13:15 +0100)] 
Tweak

6 years agoquery_params -> params
Tom Christie [Fri, 17 May 2019 12:09:31 +0000 (13:09 +0100)] 
query_params -> params

6 years agoquery_params -> params
Tom Christie [Fri, 17 May 2019 12:06:26 +0000 (13:06 +0100)] 
query_params -> params

6 years agoAdd cookie interfaces
Tom Christie [Fri, 17 May 2019 12:01:49 +0000 (13:01 +0100)] 
Add cookie interfaces

6 years agoCookie support (#73)
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

6 years agoSupport cookie persistence 73/head
Tom Christie [Fri, 17 May 2019 11:41:36 +0000 (12:41 +0100)] 
Support cookie persistence

6 years agoAdd Cookies model
Tom Christie [Fri, 17 May 2019 10:45:02 +0000 (11:45 +0100)] 
Add Cookies model

6 years agoAdd Cookies model
Tom Christie [Fri, 17 May 2019 09:00:56 +0000 (10:00 +0100)] 
Add Cookies model

6 years agoInitial pass at cookie support
Tom Christie [Thu, 16 May 2019 15:44:33 +0000 (16:44 +0100)] 
Initial pass at cookie support

6 years agoVersion 0.3.0 (#72) 0.3.0
Tom Christie [Thu, 16 May 2019 11:42:49 +0000 (12:42 +0100)] 
Version 0.3.0 (#72)

6 years agoUpdate README.md
Tom Christie [Thu, 16 May 2019 10:16:29 +0000 (11:16 +0100)] 
Update README.md

6 years ago100% test coverage (#71)
Tom Christie [Thu, 16 May 2019 10:14:21 +0000 (11:14 +0100)] 
100% test coverage (#71)

6 years agoAdd test for write timeout error (#67)
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

6 years agoDrop unused interface on ConnectionStore (#70)
Tom Christie [Thu, 16 May 2019 09:56:05 +0000 (10:56 +0100)] 
Drop unused interface on ConnectionStore (#70)

6 years agoDrop unreachable except block (#69)
Tom Christie [Thu, 16 May 2019 09:48:19 +0000 (10:48 +0100)] 
Drop unreachable except block (#69)

6 years agoAdd 100-continue test (#68)
Tom Christie [Thu, 16 May 2019 09:21:24 +0000 (10:21 +0100)] 
Add 100-continue test (#68)

6 years agoUpdate README.md
Tom Christie [Wed, 15 May 2019 15:48:46 +0000 (16:48 +0100)] 
Update README.md

6 years agoAuth (#65)
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

6 years agoInclude URL.__hash__ in test (#64)
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

6 years agoDrop top-level imports that don't need to be public API
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

6 years agoMerge pull request #61 from yeraydiazdiaz/test-config
Tom Christie [Tue, 14 May 2019 13:36:37 +0000 (14:36 +0100)] 
Merge pull request #61 from yeraydiazdiaz/test-config

Test config

6 years agoLinting
Tom Christie [Tue, 14 May 2019 13:35:55 +0000 (14:35 +0100)] 
Linting

6 years agorepr change: <SyncResponse ...> -> <Response ...>
Tom Christie [Tue, 14 May 2019 13:35:47 +0000 (14:35 +0100)] 
repr change: <SyncResponse ...> -> <Response ...>

6 years agoTidy up redirect tests
Tom Christie [Tue, 14 May 2019 13:34:43 +0000 (14:34 +0100)] 
Tidy up redirect tests

6 years agoMerge pull request #60 from encode/concurrency-backend-class
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

6 years agoMerge pull request #62 from yeraydiazdiaz/exclude-decoders-flush-from-coverage
Tom Christie [Tue, 14 May 2019 13:30:33 +0000 (14:30 +0100)] 
Merge pull request #62 from yeraydiazdiaz/exclude-decoders-flush-from-coverage

Exclude decoder's flush try..except from coverage

6 years agoSupport alternate concurrency backends from client & rejig tests 60/head
Tom Christie [Tue, 14 May 2019 13:11:13 +0000 (14:11 +0100)] 
Support alternate concurrency backends from client & rejig tests

6 years agoExclude decoder's flush try..except from coverage 62/head
Yeray Diaz Diaz [Tue, 14 May 2019 12:43:12 +0000 (13:43 +0100)] 
Exclude decoder's flush try..except from coverage

6 years agoAdd tests for config 61/head
Yeray Diaz Diaz [Tue, 14 May 2019 12:37:10 +0000 (13:37 +0100)] 
Add tests for config

Separate cert and key paths into its own fixture

6 years agoAdd missing lines to coverage report
Yeray Diaz Diaz [Tue, 14 May 2019 12:27:55 +0000 (13:27 +0100)] 
Add missing lines to coverage report

6 years agoAdd ConcurrencyBackend interface
Tom Christie [Tue, 14 May 2019 09:25:31 +0000 (10:25 +0100)] 
Add ConcurrencyBackend interface

6 years agoMerge pull request #56 from yeraydiazdiaz/test-additional-http-methods
Tom Christie [Tue, 14 May 2019 08:33:34 +0000 (09:33 +0100)] 
Merge pull request #56 from yeraydiazdiaz/test-additional-http-methods

Additional tests for SyncClient

6 years agoMerge pull request #57 from yeraydiazdiaz/test-https
Tom Christie [Tue, 14 May 2019 08:32:09 +0000 (09:32 +0100)] 
Merge pull request #57 from yeraydiazdiaz/test-https

Add test to https server

6 years agoAdd tests for additional HTTP methods on async client 56/head
Yeray Diaz Diaz [Mon, 13 May 2019 20:01:13 +0000 (21:01 +0100)] 
Add tests for additional HTTP methods on async client

Add tests for raise_for_status and SyncResponse properties

6 years agoRename `test_asnyc_client` > `test_async_client`
Yeray Diaz Diaz [Mon, 13 May 2019 19:41:50 +0000 (20:41 +0100)] 
Rename `test_asnyc_client` > `test_async_client`

6 years agoAdditional tests for SyncClient
Yeray Diaz Diaz [Sat, 11 May 2019 13:56:08 +0000 (14:56 +0100)] 
Additional tests for SyncClient

6 years agoAdd test to https server 57/head
Yeray Diaz Diaz [Sat, 11 May 2019 12:24:20 +0000 (13:24 +0100)] 
Add test to https server

Add `https_server` test fixture

6 years agoMinor docstring tweak
Tom Christie [Mon, 13 May 2019 15:54:41 +0000 (16:54 +0100)] 
Minor docstring tweak

6 years agoMerge pull request #59 from encode/use-stdlib-status-codes
Tom Christie [Mon, 13 May 2019 13:45:01 +0000 (14:45 +0100)] 
Merge pull request #59 from encode/use-stdlib-status-codes

Use stdlib status codes

6 years agoMinor README tweak
Tom Christie [Mon, 13 May 2019 13:42:06 +0000 (14:42 +0100)] 
Minor README tweak

6 years agoUse stdlib status codes 59/head
Tom Christie [Mon, 13 May 2019 13:34:24 +0000 (14:34 +0100)] 
Use stdlib status codes

6 years agoUpdate README
Tom Christie [Mon, 13 May 2019 13:12:17 +0000 (14:12 +0100)] 
Update README

6 years agoUpdate README
Tom Christie [Mon, 13 May 2019 13:11:05 +0000 (14:11 +0100)] 
Update README

6 years agoUpdate README
Tom Christie [Mon, 13 May 2019 13:10:32 +0000 (14:10 +0100)] 
Update README

6 years agoMerge pull request #58 from encode/sync-by-default
Tom Christie [Mon, 13 May 2019 12:56:56 +0000 (13:56 +0100)] 
Merge pull request #58 from encode/sync-by-default

Sync by default

6 years agoDrop 'backends' directory 58/head
Tom Christie [Mon, 13 May 2019 12:51:51 +0000 (13:51 +0100)] 
Drop 'backends' directory

6 years agoSwitch to sync-by-default
Tom Christie [Mon, 13 May 2019 12:48:08 +0000 (13:48 +0100)] 
Switch to sync-by-default

6 years agoMerge pull request #53 from yunstanford/patch-0
Tom Christie [Mon, 13 May 2019 11:06:51 +0000 (12:06 +0100)] 
Merge pull request #53 from yunstanford/patch-0

optimize str bytes concatenation

6 years agoMerge pull request #55 from encode/drop-adapters
Tom Christie [Mon, 13 May 2019 11:05:35 +0000 (12:05 +0100)] 
Merge pull request #55 from encode/drop-adapters

Drop 'adapters'

6 years agoDrop 'adapters' 55/head
Tom Christie [Mon, 13 May 2019 10:54:51 +0000 (11:54 +0100)] 
Drop 'adapters'

6 years agooptimize str bytes concatenation 53/head
Yun Xu [Sat, 11 May 2019 17:08:20 +0000 (10:08 -0700)] 
optimize str bytes concatenation

6 years agoUpdate README.md
Tom Christie [Thu, 9 May 2019 09:57:23 +0000 (10:57 +0100)] 
Update README.md

6 years agoUpdate README.md
Tom Christie [Thu, 9 May 2019 09:49:27 +0000 (10:49 +0100)] 
Update README.md

6 years agoMerge pull request #45 from taoufik07/patch-1
Tom Christie [Wed, 8 May 2019 15:37:41 +0000 (16:37 +0100)] 
Merge pull request #45 from taoufik07/patch-1

Remove print

6 years agoRemove print 45/head
Taoufik [Wed, 8 May 2019 15:31:06 +0000 (17:31 +0200)] 
Remove print

6 years agoUpdate README.md
Tom Christie [Wed, 8 May 2019 14:08:50 +0000 (15:08 +0100)] 
Update README.md

6 years agoMerge pull request #44 from encode/request-data
Tom Christie [Wed, 8 May 2019 14:01:20 +0000 (15:01 +0100)] 
Merge pull request #44 from encode/request-data

Request data

6 years agoSupport url-encoded data in requests 44/head
Tom Christie [Wed, 8 May 2019 13:59:41 +0000 (14:59 +0100)] 
Support url-encoded data in requests

6 years agoRequest(content=...) -> Request(data=...)
Tom Christie [Wed, 8 May 2019 13:45:06 +0000 (14:45 +0100)] 
Request(content=...) -> Request(data=...)

6 years agoUpdate README.md
Tom Christie [Wed, 8 May 2019 13:01:01 +0000 (14:01 +0100)] 
Update README.md

6 years agoMerge pull request #43 from encode/badges
Tom Christie [Wed, 8 May 2019 12:59:32 +0000 (13:59 +0100)] 
Merge pull request #43 from encode/badges

Add badges

6 years agoAdd badges 43/head
Tom Christie [Wed, 8 May 2019 12:53:53 +0000 (13:53 +0100)] 
Add badges

6 years agoIncrease test coverage
Tom Christie [Wed, 8 May 2019 12:52:26 +0000 (13:52 +0100)] 
Increase test coverage

6 years agoImprove class __repr__
Tom Christie [Wed, 8 May 2019 12:52:12 +0000 (13:52 +0100)] 
Improve class __repr__

6 years agoAdd query_params to URL and Request constructors
Tom Christie [Wed, 8 May 2019 12:02:32 +0000 (13:02 +0100)] 
Add query_params to URL and Request constructors

6 years agoMerge pull request #42 from encode/query-params
Tom Christie [Wed, 8 May 2019 11:47:43 +0000 (12:47 +0100)] 
Merge pull request #42 from encode/query-params

Add query params to the API.

6 years agoAdd query_params support 42/head
Tom Christie [Wed, 8 May 2019 11:43:06 +0000 (12:43 +0100)] 
Add query_params support

6 years agoAdd QueryParams class
Tom Christie [Wed, 8 May 2019 11:01:48 +0000 (12:01 +0100)] 
Add QueryParams class

6 years agoMerge pull request #40 from encode/graceful-behavior-for-unclosed-https-connections
Tom Christie [Wed, 8 May 2019 09:49:41 +0000 (10:49 +0100)] 
Merge pull request #40 from encode/graceful-behavior-for-unclosed-https-connections

Graceful behavior for unclosed HTTPS connections

6 years agoGraceful behavior for unclosed HTTPS connections 40/head
Tom Christie [Wed, 8 May 2019 09:47:22 +0000 (10:47 +0100)] 
Graceful behavior for unclosed HTTPS connections

6 years agoUpdate README.md
Tom Christie [Wed, 8 May 2019 09:08:37 +0000 (10:08 +0100)] 
Update README.md

6 years agoMerge pull request #39 from matusf/29-add-raise_for_status
Tom Christie [Wed, 8 May 2019 09:07:26 +0000 (10:07 +0100)] 
Merge pull request #39 from matusf/29-add-raise_for_status

Add `raise_for_status()` to API