9 Commits

Author SHA1 Message Date
HoneyryderChuck
9955c2ba80 testing log output, which allowed to remove a few more nocovs 2020-01-12 18:53:23 +00:00
HoneyryderChuck
066ff44762 moved timeout tests to the session, as they are not supposed to be differentiated in http/https terms 2019-12-31 01:57:00 +00:00
HoneyryderChuck
b616bea46c setting up functional tests for altsvc functionality 2019-12-21 11:40:43 +00:00
HoneyryderChuck
2da56ce9af fix: keep connection alive if HTTP/1.1 and there is connection-related
header;

this was wrongly closing connections for HTTP/1.1 connections which
didn't send a "Connection" header; according to spec, the default is
"Keep-Alive", contrary to HTTP/1.0
2019-05-15 14:45:06 +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
0c46794c20 added retries test module, with max_retries already there 2018-06-06 17:50:58 +01:00
HoneyryderChuck
e36c6347bf rubocop indications 2018-03-23 14:48:10 +00:00
HoneyryderChuck
d29b198d68 added tests for connection refused behaviour 2018-03-23 14:45:03 +00:00
HoneyryderChuck
e207c57513 moved http1/http2 to http/https tests 2018-02-17 22:18:05 +00:00