31 Commits

Author SHA1 Message Date
HoneyryderChuck
ad1ff620b0 finally fixed the digest auth; the real issue was lack of a cookie, which apparently httpbin needs 2018-01-05 23:04:53 +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
fe79e73ffd again, proxies... 2018-01-04 22:56:31 +00:00
HoneyryderChuck
26dd09903c added socks 5 proxy which supports https 2018-01-04 22:46:06 +00:00
HoneyryderChuck
8ff7857dbf added support for socks5 2018-01-03 20:47:37 +00:00
HoneyryderChuck
a3c46525ff fixed socks4 corner cases, added support for socks4a 2018-01-03 18:41:06 +01:00
HoneyryderChuck
7e7e7d2dcd added support for socks proxy version 4 (following the curl way of declaring the version through uri (socks4://, socks4a://, etc
...)
2018-01-02 13:41:44 +02:00
HoneyryderChuck
2f67f0ad15 added tests for request body compression 2017-12-22 15:04:18 +02:00
HoneyryderChuck
b480249d0b added more compression tests, specially one to test the accept-encoding headers 2017-12-22 13:16:49 +02:00
HoneyryderChuck
b55911277a added compression plugin and tests (for now, failing) 2017-12-22 10:10:46 +02:00
HoneyryderChuck
128b5fc97e allowing to extend http2 channel for proxies; simplified proxy argument (uri instead of proxy_uri) 2017-12-22 09:18:12 +02:00
HoneyryderChuck
eac3955892 comment about the site for ssl proxies 2017-12-21 17:08:54 +02:00
HoneyryderChuck
af3a81b7a2 proxy: added multiple possible proxies to choose (for now it's a static list, but these might become unavailable, added dynamic fetching later) 2017-12-21 15:35:58 +02:00
HoneyryderChuck
48d8714225 added support for https proxy connect flow; removed the proxy server tests, as I found a list of public proxies, which are good enough to test around; added a bit more logging 2017-12-21 15:21:58 +02:00
HoneyryderChuck
6d7c3d73b6 testing on /get 2017-12-20 18:56:12 +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
460c1346d2 added test for following redirects, added plugin scaffold, test fails, of course 2017-12-19 15:37:53 +02:00
HoneyryderChuck
5ee94bbc98 added test which loads the cookies from the response and passes it to the next request; added the functionality also, along with the cookie jar 2017-12-19 12:59:03 +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
eae330088c loading basic and digest authentication as separate plugins 2017-12-18 16:03:05 +02:00
HoneyryderChuck
68faf1c4a1 added authentication plugin with tests (basic is working, digest is not) 2017-12-18 15:50:09 +02: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
5218f5a87b fixed io tests for passed ssl io type 2017-12-11 16:00:07 +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