]> git.ipfire.org Git - thirdparty/httpx.git/log
thirdparty/httpx.git
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

6 years agoTest `raise_for_status` 39/head
Matus Ferech [Sat, 4 May 2019 15:44:35 +0000 (17:44 +0200)] 
Test `raise_for_status`

6 years agoAdd `status_code` endpoint
Matus Ferech [Sat, 4 May 2019 15:44:06 +0000 (17:44 +0200)] 
Add `status_code` endpoint

6 years agoAdd `HttpError`
Matus Ferech [Sat, 4 May 2019 15:42:55 +0000 (17:42 +0200)] 
Add `HttpError`

6 years agoAdd `raise_for_status` to `Response`
Matus Ferech [Sat, 4 May 2019 15:42:27 +0000 (17:42 +0200)] 
Add `raise_for_status` to `Response`

6 years agoFix docstrings
Tom Christie [Thu, 2 May 2019 11:11:05 +0000 (12:11 +0100)] 
Fix docstrings

6 years agoReorganise structure
Tom Christie [Wed, 1 May 2019 15:21:04 +0000 (16:21 +0100)] 
Reorganise structure

6 years agoUpdate README
Tom Christie [Wed, 1 May 2019 15:01:36 +0000 (16:01 +0100)] 
Update README

6 years agoUpdating docstrings
Tom Christie [Wed, 1 May 2019 14:58:23 +0000 (15:58 +0100)] 
Updating docstrings

6 years agoUpdate README
Tom Christie [Wed, 1 May 2019 14:39:53 +0000 (15:39 +0100)] 
Update README

6 years agoUpdate README
Tom Christie [Wed, 1 May 2019 14:33:41 +0000 (15:33 +0100)] 
Update README

6 years agoStill truckin' on
Tom Christie [Wed, 1 May 2019 14:17:58 +0000 (15:17 +0100)] 
Still truckin' on

6 years agoUpdate README
Tom Christie [Wed, 1 May 2019 13:49:44 +0000 (14:49 +0100)] 
Update README

6 years agoTruckin' on
Tom Christie [Wed, 1 May 2019 13:35:23 +0000 (14:35 +0100)] 
Truckin' on

6 years agoTruckin' on
Tom Christie [Wed, 1 May 2019 11:39:16 +0000 (12:39 +0100)] 
Truckin' on

6 years agoMedia types with 'text/' should default to iso-8859-1
Tom Christie [Wed, 1 May 2019 11:32:31 +0000 (12:32 +0100)] 
Media types with 'text/' should default to iso-8859-1

6 years agoMerge pull request #21 from yeraydiazdiaz/wait-for-connection-close
Tom Christie [Wed, 1 May 2019 10:36:47 +0000 (11:36 +0100)] 
Merge pull request #21 from yeraydiazdiaz/wait-for-connection-close

Add `raw` method to SyncResponse

6 years agoCarefulness with encoding everywhere
Tom Christie [Wed, 1 May 2019 10:32:03 +0000 (11:32 +0100)] 
Carefulness with encoding everywhere

6 years agoAdd idna support. More tests.
Tom Christie [Wed, 1 May 2019 09:58:58 +0000 (10:58 +0100)] 
Add idna support. More tests.

6 years agoUpdate test_sync.py 21/head
Tom Christie [Wed, 1 May 2019 08:49:08 +0000 (09:49 +0100)] 
Update test_sync.py

6 years agoMerge branch 'master' into wait-for-connection-close
Tom Christie [Wed, 1 May 2019 08:46:19 +0000 (09:46 +0100)] 
Merge branch 'master' into wait-for-connection-close

6 years agoUse rfc3986 for URL handling
Tom Christie [Tue, 30 Apr 2019 16:39:40 +0000 (17:39 +0100)] 
Use rfc3986 for URL handling

6 years agoAdd test for explicitly setting the encoding to use
Tom Christie [Tue, 30 Apr 2019 15:37:10 +0000 (16:37 +0100)] 
Add test for explicitly setting the encoding to use

6 years agoAdd response.text and response.encoding
Tom Christie [Tue, 30 Apr 2019 15:35:25 +0000 (16:35 +0100)] 
Add response.text and response.encoding

6 years agoPrefer 'content' over 'body'
Tom Christie [Tue, 30 Apr 2019 14:08:24 +0000 (15:08 +0100)] 
Prefer 'content' over 'body'

6 years agoResponse.content
Tom Christie [Tue, 30 Apr 2019 13:58:43 +0000 (14:58 +0100)] 
Response.content

6 years agoRejig test and tighten up models API
Tom Christie [Tue, 30 Apr 2019 12:52:37 +0000 (13:52 +0100)] 
Rejig test and tighten up models API

6 years agoClean up response interface
Tom Christie [Tue, 30 Apr 2019 10:40:37 +0000 (11:40 +0100)] 
Clean up response interface

6 years agoFinessing interface
Tom Christie [Tue, 30 Apr 2019 10:26:11 +0000 (11:26 +0100)] 
Finessing interface

6 years agoresponse.next()
Tom Christie [Mon, 29 Apr 2019 16:14:08 +0000 (17:14 +0100)] 
response.next()

6 years agoMerge pull request #20 from yeraydiazdiaz/decoding-exceptions
Tom Christie [Mon, 29 Apr 2019 16:00:40 +0000 (17:00 +0100)] 
Merge pull request #20 from yeraydiazdiaz/decoding-exceptions

Wrap decoding errors with custom exceptions

6 years agoMerge branch 'master' into decoding-exceptions 20/head
Tom Christie [Mon, 29 Apr 2019 15:58:00 +0000 (16:58 +0100)] 
Merge branch 'master' into decoding-exceptions

6 years agoMerge pull request #23 from encode/adapters
Tom Christie [Mon, 29 Apr 2019 15:55:42 +0000 (16:55 +0100)] 
Merge pull request #23 from encode/adapters

Adapter refactoring

6 years agoAdd await response.next() interface 23/head
Tom Christie [Mon, 29 Apr 2019 15:18:41 +0000 (16:18 +0100)] 
Add await response.next() interface