Commit Graph

104 Commits

Author SHA1 Message Date
Tom Christie
5d552eba69
Update test_sync.py 2019-05-01 09:49:08 +01:00
Tom Christie
20bc1f3530
Merge branch 'master' into wait-for-connection-close 2019-05-01 09:46:19 +01:00
Tom Christie
302fe93df9 Use rfc3986 for URL handling 2019-04-30 17:39:40 +01:00
Tom Christie
fd9823e59c Add test for explicitly setting the encoding to use 2019-04-30 16:37:10 +01:00
Tom Christie
d8df61b44b Add response.text and response.encoding 2019-04-30 16:35:25 +01:00
Tom Christie
4255d41846 Prefer 'content' over 'body' 2019-04-30 15:08:24 +01:00
Tom Christie
4c5511313c Response.content 2019-04-30 14:58:43 +01:00
Tom Christie
dea4d42c6d Rejig test and tighten up models API 2019-04-30 13:52:37 +01:00
Tom Christie
4d908d024f Clean up response interface 2019-04-30 11:40:37 +01:00
Tom Christie
d7619a92a8 Finessing interface 2019-04-30 11:26:11 +01:00
Tom Christie
d652479b07 response.next() 2019-04-29 17:14:08 +01:00
Tom Christie
2b134a6a3d
Merge pull request #20 from yeraydiazdiaz/decoding-exceptions
Wrap decoding errors with custom exceptions
2019-04-29 17:00:40 +01:00
Tom Christie
51ae3e1e96
Merge branch 'master' into decoding-exceptions 2019-04-29 16:58:00 +01:00
Tom Christie
696c054968
Merge pull request #23 from encode/adapters
Adapter refactoring
2019-04-29 16:55:42 +01:00
Tom Christie
450ea25b5a Add await response.next() interface 2019-04-29 16:18:41 +01:00
Tom Christie
b392b7ea59 Test allow_redirects=False 2019-04-29 16:08:31 +01:00
Tom Christie
05e0649e8f Nicer headers interface 2019-04-29 16:05:05 +01:00
Tom Christie
83d322f736 Handle body in redirects 2019-04-29 15:25:44 +01:00
Tom Christie
4f23ab4f0d Rejig request preparing 2019-04-29 14:25:24 +01:00
Yeray Diaz Diaz
6b4742303e Raise single DecodingError
Fix typo
2019-04-29 13:38:36 +01:00
Tom Christie
041813bc4a Redirections 2019-04-29 12:35:58 +01:00
Tom Christie
8b4ef87a89 Redirect tests 2019-04-29 12:12:08 +01:00
Tom Christie
e09fc3741f Restructuring 2019-04-29 11:54:48 +01:00
Yeray Diaz Diaz
99dc1a99d2 Add raw method to SyncResponse 2019-04-27 17:16:41 +01:00
Yeray Diaz Diaz
bdc218f8e6 Wrap decoding errors with custom exceptions 2019-04-27 16:39:53 +01:00
Tom Christie
fe43c08adc Add API sketch 2019-04-26 17:08:38 +01:00
Tom Christie
8a29a0a1ad Rollin' 2019-04-26 17:00:47 +01:00
Tom Christie
fab6fcd397 Adapters 2019-04-26 15:34:04 +01:00
Tom Christie
ddf1cec65a Drop connections from pool on connection exceptions 2019-04-25 17:16:37 +01:00
Tom Christie
6d35506277 Drop unneccessary __hash__ methods 2019-04-25 17:05:40 +01:00
Tom Christie
06f6d50084 More specfic annotations on callbacks 2019-04-25 17:03:14 +01:00
Tom Christie
f942eb94f1 Add http2 connection re-use 2019-04-25 16:17:42 +01:00
Tom Christie
28c505a70f Tighten up connection acquiry/release 2019-04-25 15:31:47 +01:00
Tom Christie
286f04f1a6 Add PoolSemaphore 2019-04-25 12:57:18 +01:00
Tom Christie
9ab607d8a3 More HTTP/2 tests 2019-04-25 12:23:20 +01:00
Tom Christie
a44190ff24 Stream refactoring and HTTP/2 test case 2019-04-25 12:05:23 +01:00
Tom Christie
abe46b8a0e Add h2 to install_requires 2019-04-24 19:38:53 +01:00
Tom Christie
13b28b6ebb Tighten up how we hand out stream ids 2019-04-24 17:12:05 +01:00
Tom Christie
0bdcbaef72 Add stream ID to HTTP2Connection 2019-04-24 17:04:15 +01:00
Tom Christie
53f3dc4a66 First pass at HTTP/2 support 2019-04-24 15:48:18 +01:00
Tom Christie
91a2a1b896
Merge pull request #17 from encode/close-keepalive-connections
Close outstanding connections on pool.close()
2019-04-24 11:52:51 +01:00
Tom Christie
4ed3a8a403 Drop wait_closed 2019-04-24 11:47:31 +01:00
Tom Christie
799df23dde Close outstanding connections on pool.close() 2019-04-24 11:42:45 +01:00
Tom Christie
0c20fba8a9
Merge pull request #15 from encode/module-renaming
Module renaming
2019-04-23 14:26:53 +01:00
Tom Christie
b7d315af3b Module renaming 2019-04-23 14:25:47 +01:00
Tom Christie
0f178cadee
Update README.md 2019-04-23 11:57:24 +01:00
Tom Christie
bb3d452816
Update README for 0.2.0 2019-04-23 11:57:12 +01:00
Tom Christie
903a961897
Merge pull request #13 from encode/sync
Add SyncConnectionPool
2019-04-23 11:54:20 +01:00
Tom Christie
e58d255414 Version 0.2.0 2019-04-23 11:53:22 +01:00
Tom Christie
03080623f0 Add SyncResponse.close 2019-04-23 11:52:41 +01:00