Commit Graph

174 Commits

Author SHA1 Message Date
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
Tom Christie
e40b0bfe83 Tidy up redirect tests 2019-05-14 14:34:43 +01:00
Tom Christie
3d997afab7
Merge pull request #60 from encode/concurrency-backend-class
Add `ConcurrencyBackend` interface
2019-05-14 14:31:12 +01:00
Tom Christie
51562dc609
Merge pull request #62 from yeraydiazdiaz/exclude-decoders-flush-from-coverage
Exclude decoder's flush try..except from coverage
2019-05-14 14:30:33 +01:00
Tom Christie
3acc31621c Support alternate concurrency backends from client & rejig tests 2019-05-14 14:11:13 +01:00
Yeray Diaz Diaz
d42bf90df4 Exclude decoder's flush try..except from coverage 2019-05-14 13:43:12 +01:00
Yeray Diaz Diaz
8d53257915 Add tests for config
Separate cert and key paths into its own fixture
2019-05-14 13:37:10 +01:00
Yeray Diaz Diaz
2fe07c3496 Add missing lines to coverage report 2019-05-14 13:27:55 +01:00
Tom Christie
2694c48492 Add ConcurrencyBackend interface 2019-05-14 10:25:31 +01:00
Tom Christie
87cab4c5a4
Merge pull request #56 from yeraydiazdiaz/test-additional-http-methods
Additional tests for SyncClient
2019-05-14 09:33:34 +01:00
Tom Christie
c27c635f2f
Merge pull request #57 from yeraydiazdiaz/test-https
Add test to https server
2019-05-14 09:32:09 +01:00
Yeray Diaz Diaz
fe5a3b875b Add tests for additional HTTP methods on async client
Add tests for raise_for_status and SyncResponse properties
2019-05-13 21:01:13 +01:00
Yeray Diaz Diaz
e46ee49974 Rename test_asnyc_client > test_async_client 2019-05-13 20:41:50 +01:00
Yeray Diaz Diaz
b4ab7bb619 Additional tests for SyncClient 2019-05-13 20:39:24 +01:00
Yeray Diaz Diaz
b3af383923 Add test to https server
Add `https_server` test fixture
2019-05-13 20:33:16 +01:00
Tom Christie
f1b10e593c Minor docstring tweak 2019-05-13 16:54:41 +01:00
Tom Christie
afc836939c
Merge pull request #59 from encode/use-stdlib-status-codes
Use stdlib status codes
2019-05-13 14:45:01 +01:00
Tom Christie
813bb7c6d3 Minor README tweak 2019-05-13 14:42:06 +01:00
Tom Christie
3b4439039d Use stdlib status codes 2019-05-13 14:34:24 +01:00
Tom Christie
a5eb8295c9 Update README 2019-05-13 14:12:17 +01:00
Tom Christie
441a1f62c2 Update README 2019-05-13 14:11:05 +01:00
Tom Christie
58461d430a Update README 2019-05-13 14:10:32 +01:00
Tom Christie
b6c27f0f9c
Merge pull request #58 from encode/sync-by-default
Sync by default
2019-05-13 13:56:56 +01:00
Tom Christie
2a3a97a1c3 Drop 'backends' directory 2019-05-13 13:51:51 +01:00
Tom Christie
8627b62863 Switch to sync-by-default 2019-05-13 13:48:08 +01:00
Tom Christie
21ac95a77a
Merge pull request #53 from yunstanford/patch-0
optimize str bytes concatenation
2019-05-13 12:06:51 +01:00
Tom Christie
d72a144e2c
Merge pull request #55 from encode/drop-adapters
Drop 'adapters'
2019-05-13 12:05:35 +01:00
Tom Christie
d6628ca88a Drop 'adapters' 2019-05-13 11:54:51 +01:00
Yun Xu
b1c4d8acf6 optimize str bytes concatenation 2019-05-11 10:08:20 -07:00
Tom Christie
84b9691f3f
Update README.md 2019-05-09 10:57:23 +01:00
Tom Christie
fe7d30990a
Update README.md 2019-05-09 10:49:27 +01:00
Tom Christie
fc7a79a1ba
Merge pull request #45 from taoufik07/patch-1
Remove print
2019-05-08 16:37:41 +01:00
Taoufik
a260d0ace8
Remove print 2019-05-08 17:31:06 +02:00
Tom Christie
3408d7baad
Update README.md 2019-05-08 15:08:50 +01:00
Tom Christie
39a5c53a67
Merge pull request #44 from encode/request-data
Request data
2019-05-08 15:01:20 +01:00
Tom Christie
e91c69d2ad Support url-encoded data in requests 2019-05-08 14:59:41 +01:00
Tom Christie
19542f2c3c Request(content=...) -> Request(data=...) 2019-05-08 14:45:06 +01:00
Tom Christie
d7f2478fcf
Update README.md 2019-05-08 14:01:01 +01:00
Tom Christie
3553625815
Merge pull request #43 from encode/badges
Add badges
2019-05-08 13:59:32 +01:00
Tom Christie
2485c74a9d Add badges 2019-05-08 13:53:53 +01:00
Tom Christie
e99ffbd7ac Increase test coverage 2019-05-08 13:52:26 +01:00
Tom Christie
666d5a84f3 Improve class __repr__ 2019-05-08 13:52:12 +01:00
Tom Christie
61654591d1 Add query_params to URL and Request constructors 2019-05-08 13:02:32 +01:00
Tom Christie
3de0425ef2
Merge pull request #42 from encode/query-params
Add query params to the API.
2019-05-08 12:47:43 +01:00
Tom Christie
faededae59 Add query_params support 2019-05-08 12:43:06 +01:00
Tom Christie
211bef130b Add QueryParams class 2019-05-08 12:01:48 +01:00
Tom Christie
698cb5a524
Merge pull request #40 from encode/graceful-behavior-for-unclosed-https-connections
Graceful behavior for unclosed HTTPS connections
2019-05-08 10:49:41 +01:00
Tom Christie
6d162a0d3a Graceful behavior for unclosed HTTPS connections 2019-05-08 10:47:22 +01:00