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
ab73a6fef5
moar minitest workers
2019-05-06 13:03:21 +01:00
HoneyryderChuck
16531ee46c
Merge branch 'master' of gitlab.com:honeyryderchuck/httpx
2019-05-06 13:01:06 +01:00
HoneyryderChuck
c975853f2e
Merge branch 'pool-per-thread' into 'master'
...
Connection Pool per thread
See merge request honeyryderchuck/httpx!41
2019-05-06 11:56:12 +00:00
HoneyryderChuck
ae859f743f
request exposes options: this allows responses to be created with the proper set of options, instead of the connection options, which is wrong
2019-05-06 11:56:11 +00:00
HoneyryderChuck
46729a8f79
preparing the release notes for next version
2019-04-29 16:19:23 +01:00
HoneyryderChuck
d46a9aaab2
Merge branch 'connection-class' into 'master'
...
plugins: connection_class and ConnectionMethods
See merge request honeyryderchuck/httpx!40
2019-04-29 15:04:00 +00:00
HoneyryderChuck
698050363a
refactored h2c to use the connection methods; moving options around match?, as they'll be crucial to reimplement in plugins
2019-04-29 15:04:00 +00:00
HoneyryderChuck
1ff7255d8c
Merge branch 'refactorings' into 'master'
...
Refactorings
See merge request honeyryderchuck/httpx!39
2019-04-27 15:51:37 +00:00
HoneyryderChuck
ce9f55c96e
pool: allowing it to load more than one resolver per pool, depending on connection conditions; still reusing it whenever possible (right now, per type, which is still wrong, if we want to connect, let's say, to more than a different DNS server with the same type)
2019-04-27 15:51:37 +00:00
HoneyryderChuck
e711c8f812
test if log stream responds to #isatty (thereby fulfilling the log requirement 'must implement #<<' ( Closes #45 )
2019-04-09 16:59:17 +01:00
HoneyryderChuck
39aa1375f4
if request done sending the body, consider it done
2019-03-17 12:27:23 +00:00
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