18 Commits

Author SHA1 Message Date
HoneyryderChuck
e762faedfa added h2c plugin 2018-01-08 22:30:50 +00:00
HoneyryderChuck
7739ba81a4 Merge branch 'compression' 2018-01-04 23:17:07 +00:00
HoneyryderChuck
fbdd2391fd Merge branch 'cookies' 2018-01-04 23:14:45 +00:00
HoneyryderChuck
a033605a00 Merge branch 'follow_redirects' 2018-01-04 23:11:04 +00:00
HoneyryderChuck
c92a872257 Merge branch 'authentication' 2018-01-04 23:09:10 +00:00
HoneyryderChuck
b55911277a added compression plugin and tests (for now, failing) 2017-12-22 10:10:46 +02:00
HoneyryderChuck
9ee00921f8 added proxy tests; the tests use local nghttpx as proxy, which means this'll become a dependency 2017-12-20 17:26:57 +02:00
HoneyryderChuck
d044458031 added redirection functionality, along with capping the number of redirections (default: 3), after which it returns the last known response 2017-12-19 15:37:54 +02:00
HoneyryderChuck
6ed620caff added the cookie plugin, with the first test: passing the cookie in the options 2017-12-18 18:09:30 +02:00
HoneyryderChuck
68faf1c4a1 added authentication plugin with tests (basic is working, digest is not) 2017-12-18 15:50:09 +02: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
HoneyryderChuck
15a5ffffdd allow to pass a custom body class, which only needs to implement the constructor signature and #<< 2017-12-11 13:10:58 +00:00
HoneyryderChuck
520d00c715 testing stream-copying the response; added a convenience method, Response#copy_to, to ensure that buffer is properly rewinded, and that the file is simply moved, when its stored in a file and the destination is a file 2017-12-10 18:36:20 +00:00
HoneyryderChuck
824efb83fd allow IOs to be passed as argument; they are expected to be connected already, and won't be closed after use; if passed only one, assume that all requests are going through it, otherwise, pass them as an hash indexed by IP or IP:PORT 2017-12-10 00:29:06 +00:00
HoneyryderChuck
4d1205f774 added test for HTTP chunked encoding GET request 2017-12-09 01:11:44 +00:00
HoneyryderChuck
c9b632fb55 added support for chunking requests (sadly, not being able to test it well...) 2017-12-09 01:11:24 +00:00
HoneyryderChuck
71fe46e7ac renamed test file 2017-12-08 22:25:17 +00:00