691 Commits

Author SHA1 Message Date
HoneyryderChuck
39fbf0223c some changes to the stripe script 2019-03-17 12:26:24 +00:00
HoneyryderChuck
fc9d572992 one require less 2019-03-17 01:44:10 +00:00
HoneyryderChuck
d6893c79ba example on how to use httpx with faraday 2019-03-17 01:43:40 +00:00
HoneyryderChuck
234e8d1901 Merge branch 'issue-44' into 'master'
Internal Name changes

Closes #44

See merge request honeyryderchuck/httpx!38
2019-03-16 18:10:13 +00:00
HoneyryderChuck
a27e82453e removed inconsequent TODOs 2019-03-16 18:03:08 +00:00
HoneyryderChuck
7e70ffe4ed realign multi-line calls in test/ 2019-03-16 17:17:00 +00:00
HoneyryderChuck
a93505b6c1 setup bundler cache to hopefully speed up CI 2019-03-16 16:55:03 +00:00
HoneyryderChuck
c1c0c536eb Client -> Session (signal this as deprecation, as this is public API 2019-03-16 16:32:33 +00:00
HoneyryderChuck
05543d12f6 not a TODO anymore 2019-03-16 16:24:44 +00:00
HoneyryderChuck
9d2a5a1df0 replaced mime type for dns message in the tests, using standard 2019-03-16 16:15:48 +00:00
HoneyryderChuck
935a58e11e Channel -> Connection 2019-03-16 15:59:19 +00:00
HoneyryderChuck
5d8c65cfe3 Channel -> Connection 2019-03-16 15:23:55 +00:00
HoneyryderChuck
b6d6597cb8 Connection -> Pool 2019-03-16 15:23:49 +00:00
HoneyryderChuck
3670b239af Merge branch 'faraday' into 'master'
Faraday adapter

Closes #42

See merge request honeyryderchuck/httpx!37
2019-03-16 05:08:09 +00:00
HoneyryderChuck
c1d592433f Merge branch 'fix-cookies' into 'master'
Fix cookies

See merge request honeyryderchuck/httpx!36
2019-03-16 05:07:44 +00:00
HoneyryderChuck
8aed5c29ec make ssl negotiated transition log the same as others 2019-03-16 04:53:05 +00:00
HoneyryderChuck
5ba7ee0fa3 fixed pipelining when recovering from server which closes connections 2019-03-16 04:51:18 +00:00
HoneyryderChuck
062ccaac31 worked around the fact that jruby doesn't support refinement inheritance yet 2019-03-16 04:50:49 +00:00
HoneyryderChuck
44cb82602c do not test ssh proxy for jruby (no support) 2019-03-16 04:50:01 +00:00
HoneyryderChuck
5faba24d82 in jruby, cipher is a string, act accordingly 2019-03-16 04:08:03 +00:00
HoneyryderChuck
f8688c4d61 do not install byebug under jruby 2019-03-16 03:49:35 +00:00
HoneyryderChuck
3b2ad9735f updating jruby version 2019-03-16 03:46:25 +00:00
HoneyryderChuck
7bf46b3289 do not install incompatible pry byebug 2019-03-16 03:44:39 +00:00
HoneyryderChuck
bd793f097f jruby update 2019-03-16 03:38:23 +00:00
HoneyryderChuck
95069483fe bundler update, disabling quiet mode for better CI inspection 2019-03-16 03:37:55 +00:00
HoneyryderChuck
8793f3c493 fixed faraday ssl test, so that it fails all the time (CI disabled peer validation) 2019-03-16 03:37:27 +00:00
HoneyryderChuck
9475c76aea transcoder: handle #length as #size 2019-03-16 02:40:25 +00:00
HoneyryderChuck
d24c80b298 missing error type 2019-03-16 02:38:50 +00:00
HoneyryderChuck
f3c3be0c8a added faraday adapter and tests 2019-03-16 02:37:01 +00:00
HoneyryderChuck
4fee26b313 added faraday 2019-03-08 01:09:32 +00:00
HoneyryderChuck
11663ad914 simplifying cookies plugin by having less cookie response introspection (now there's a client cookies store) 2019-01-24 14:43:15 +00:00
HoneyryderChuck
26b54d2540 keeping a client-local cookie store per origin; setting the store when receiving a response; using it when building a request; also, using the request uri when retrieving the cookie jar, an added measure when a response returns cookies for different origins, potentially" 2019-01-04 11:56:02 +00:00
HoneyryderChuck
151dcd56de updated tests for the cookie plugin, so that the origin cookie session is kept when using the same client; testing also integration with the follow_redirects plugin, when one needs the cookies to be kept when redirecting 2019-01-04 11:52:01 +00:00
HoneyryderChuck
ab694ae7de cleaning up gemfile 2019-01-01 17:14:36 +00:00
HoneyryderChuck
05d9ca909f added a way to log exceptions, and use it in error responses, which are now tested 2018-12-31 02:55:03 +00:00
HoneyryderChuck
bef4315ded Merge branch 'ssh-gateway' into 'master'
SSH Proxy

Closes #37

See merge request honeyryderchuck/httpx!33
2018-12-30 01:23:26 +00:00
HoneyryderChuck
bf8e96c322 linting 2018-12-28 15:01:45 +00:00
HoneyryderChuck
fd05db74e7 added 2.6 to the CI suite 2018-12-28 14:21:26 +00:00
HoneyryderChuck
403911f0b2 getting addresses from channel first also in the system resolver 2018-12-28 14:21:26 +00:00
HoneyryderChuck
7a6e8c669d removing lonely operator, as it causes parsing errors in ruby <= 2.2 2018-12-28 14:21:26 +00:00
HoneyryderChuck
fcc1e2a2b8 moved net-ssh deps to Gemfile 2018-12-28 14:21:26 +00:00
HoneyryderChuck
52cb379ad9 some ruby 2.3 syntax 2018-12-28 14:21:25 +00:00
HoneyryderChuck
72f5fbdfc9 ssh proxy: added support for https requests too 2018-12-28 14:21:25 +00:00
HoneyryderChuck
cf7b4bff94 Fixed issue when IO was passed as an option, but a DNS query was still
issued to the request host, which doesn't make sense.

This also fixed an inconsistency when passing an hash of IOs. The key of
that hash MUST match the request authority for the channel to properly
assign it.
2018-12-28 14:21:25 +00:00
HoneyryderChuck
2051aef665 added implementation of ssh proxy using ssh gateway; simply opening it, opening a socket, and passing it through; this has the slight downside of not being able to open multiple ssh proxies in the same client, so we're bound to one domain 2018-12-28 14:21:25 +00:00
HoneyryderChuck
ddd27a3b36 added ssh proxy test 2018-12-28 14:21:25 +00:00
HoneyryderChuck
86a9a707ea added more config to the ssh proxy image 2018-12-28 14:21:25 +00:00
HoneyryderChuck
51554b42aa added ssh gateway image, which will serve to test the implementation 2018-12-28 14:21:25 +00:00
HoneyryderChuck
0668ff6d92 added separate configs per ruby version, which helps keeping up the level of granularity way better than just having a single rubocop_todo.yml; fixed a few cases based on some missing cops 2018-12-28 14:13:38 +00:00
HoneyryderChuck
7673f572c2 support rubocop also for ruby 2.1 and 2.2 2018-12-28 02:53:58 +00:00