HoneyryderChuck
7d9c5a722e
added tests for build_request as public api from session
2020-10-06 16:23:18 +01:00
HoneyryderChuck
108d9257c8
added support for HTTP#with_ methods
...
these will reapply options accordingly (i.e. HTTPX.with_headers(...)).
Because we now have these, HTTPX.headers and HTTPX.timeout have been
deprecated.
2020-03-10 18:58:31 +00:00
HoneyryderChuck
926ad27011
expect plugin
...
this plugin sets all body requests to send the expect-100 header before
sending any payload, a la curl. It recovers from 417 as well.
2020-03-10 18:57:42 +00:00
HoneyryderChuck
8c3227c26e
added test for the 417 case
2020-03-10 18:57:42 +00:00
HoneyryderChuck
ce674ff4e2
Added multipart plugin, to handle multipart requests
...
This logic was extracted from the vanilla httpx build to a plugin to
make the gem "leaner", by removing "http_form_data" as a hard
dependency.
The multipart plugin still requires one to install it though, but if you
don't need to upload files, you don't have to install the gem anymore
2018-11-23 16:06:25 +00:00
HoneyryderChuck
4be12daa00
verify_status receives response and raises when not a proper response
2018-03-20 20:08:24 +00:00
HoneyryderChuck
2b1ab8b6b6
rubocop auto-corrections according to some basic rules for now
2018-01-28 22:33:41 +00:00
HoneyryderChuck
12c0ff29af
body tests: testing the diverse supported input types (can't test chunked bodies, as nghttp is not helping)
2018-01-28 22:00:10 +00:00
HoneyryderChuck
da8bccb254
with_body: moved assertions to helper methods
2017-12-15 08:45:21 +00:00
HoneyryderChuck
51cdf95aad
added helper assertion helpers
2017-12-14 01:19:47 +00:00
HoneyryderChuck
808c351d72
added support for expect 100-continue requests ( Fixes #2 )
2017-12-13 23:33:16 +00:00
HoneyryderChuck
67ca959535
added test for http2 (for now, testing the ssl layer as well); created intermediate base class for http helpers
2017-12-11 15:59:43 +00:00
HoneyryderChuck
daa2860b60
mobed all http request tests to request helpers
2017-12-11 14:59:40 +00:00