Commit Graph

1471 Commits

Author SHA1 Message Date
Tom Christie
60dca3da39 Docs tweaks 2019-06-12 16:06:09 +01:00
Tom Christie
66a2afaaee
Delete CNAME 2019-06-12 15:35:02 +01:00
Tom Christie
a06db38b1b Add mkdocs to requirements 2019-06-12 15:29:11 +01:00
Tom Christie
a6aa8d949e Create CNAME 2019-06-12 15:28:39 +01:00
Tom Christie
1e98f31f10
Update README.md 2019-06-12 15:13:44 +01:00
Tom Christie
9507ce2d01
Tweak README (#87) 2019-06-12 15:12:46 +01:00
Tom Christie
c9747aa357
http3 (#86)
* Start fleshing out documentation

* Docs work

* http3

* Update docs

* Include lowercase status codes, for requests compat

* Updating docs

* Docs tweaks
2019-06-12 15:02:16 +01:00
Tom Christie
77c37259ae
Add params keyword argument throughout (#85) 2019-06-10 18:45:15 +01:00
Tom Christie
0cbf3c7581
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
2019-06-10 12:26:03 +01:00
Tom Christie
ba033c549f Version 0.4.0 2019-06-06 15:24:01 +01:00
Tom Christie
f4591f08ae Version 0.3.1 2019-06-06 14:44:32 +01:00
Tom Christie
76bc6c6dea
Drop Host header for HTTP/2 (#82) 2019-05-28 14:39:57 +01:00
Tom Christie
9d19adba30
Handle StreamReset, and acknowledge received data (#81) 2019-05-25 20:25:44 +01:00
Tom Christie
d8950efeb8 Drop prepare_request 2019-05-24 13:41:18 +01:00
Tom Christie
37da9ed26a Drop prepare_request 2019-05-24 13:40:04 +01:00
Tom Christie
1970912c41 Drop unintended test module 2019-05-24 12:10:06 +01:00
Tom Christie
53a3e552f8
Update README.md 2019-05-24 10:35:12 +01:00
Tom Christie
e7cd76ecac
Update README.md 2019-05-24 10:34:16 +01:00
Tom Christie
c12c271276
Status code tweaks (#77)
* Add top-level API

* Add tests for top-level API

* Further work towards parallel support

* StatusCode tweaks

* Drop erronous commit
2019-05-24 10:27:35 +01:00
Tom Christie
c9bb39addc Tweak API 2019-05-23 16:45:07 +01:00
Tom Christie
95740415db
Work on bringing API into parity with requests. (#76)
* Finesse timeout argument.

* Drop unused imports

* Add 'cert' and 'verify' arguments
2019-05-23 16:21:00 +01:00
Tom Christie
fc627f3387
Add top-level API (#75)
* Add top-level API

* Add tests for top-level API
2019-05-20 14:30:52 +01:00
Tom Christie
5a63d313f0 Add json interfaces 2019-05-17 14:43:22 +01:00
Tom Christie
2116d44777 Add response.json() 2019-05-17 14:29:36 +01:00
Tom Christie
a284d0b2ea Tweak test naming 2019-05-17 13:49:24 +01:00
Tom Christie
52372ad519 Tweak 2019-05-17 13:42:02 +01:00
Tom Christie
33a2249356 Tweak 2019-05-17 13:25:19 +01:00
Tom Christie
f6a2aef13a Tweak 2019-05-17 13:15:39 +01:00
Tom Christie
bb703771b3 query_params -> params 2019-05-17 13:09:31 +01:00
Tom Christie
c6287ed782 query_params -> params 2019-05-17 13:06:26 +01:00
Tom Christie
07179983ed
Add cookie interfaces 2019-05-17 13:01:49 +01:00
Tom Christie
feae0a895d
Cookie support (#73)
* Initial pass at cookie support
* Add Cookies model
* Support cookie persistence
2019-05-17 12:51:00 +01:00
Tom Christie
f63148aa73 Support cookie persistence 2019-05-17 12:41:36 +01:00
Tom Christie
24b6923669 Add Cookies model 2019-05-17 11:45:02 +01:00
Tom Christie
1e0409c105 Add Cookies model 2019-05-17 10:00:56 +01:00
Tom Christie
4a3325f87b Initial pass at cookie support 2019-05-16 16:44:33 +01:00
Tom Christie
7155e74898
Version 0.3.0 (#72) 2019-05-16 12:42:49 +01:00
Tom Christie
23e07862e3
Update README.md 2019-05-16 11:16:29 +01:00
Tom Christie
fc16d31d62
100% test coverage (#71) 2019-05-16 11:14:21 +01:00
Yeray Diaz Diaz
b8b3714d8e Add test for write timeout error (#67)
* Add test for write timeout error
* Bump up write data 10x
2019-05-16 11:00:45 +01:00
Tom Christie
3ed08857ee
Drop unused interface on ConnectionStore (#70) 2019-05-16 10:56:05 +01:00
Tom Christie
8c43fca343
Drop unreachable except block (#69) 2019-05-16 10:48:19 +01:00
Tom Christie
4fe6bc058a
Add 100-continue test (#68) 2019-05-16 10:21:24 +01:00
Tom Christie
144ce4f7c3
Update README.md 2019-05-15 16:48:46 +01:00
Tom Christie
5afa7dd5cc
Auth (#65)
* Initial work towards auth

* Add auth support

* Add test for custom auth

* Support auth-in-URL

* Support auth-on-session
2019-05-15 16:43:35 +01:00
Yeray Diaz Diaz
2e9ab2e904 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
2019-05-15 14:30:00 +01:00
Tom Christie
019c5d1613 Drop top-level imports that don't need to be public API 2019-05-14 15:27:25 +01:00
Tom Christie
abec2e85e9
Merge pull request #61 from yeraydiazdiaz/test-config
Test config
2019-05-14 14:36:37 +01:00
Tom Christie
8f4abe057b Linting 2019-05-14 14:35:55 +01:00
Tom Christie
73d5fca823 repr change: <SyncResponse ...> -> <Response ...> 2019-05-14 14:35:47 +01:00