477 Commits

Author SHA1 Message Date
HoneyryderChuck
7e9b6c96f1 evicting existing cookies in the jar when containing same name, domain and path 2021-06-30 11:02:15 +03:00
HoneyryderChuck
2510f5730a making the test duplicate cookie fail, is it should only contain the last value for the a field 2021-06-26 15:15:09 +03:00
HoneyryderChuck
ce23db787e using more predictable uris for cookie jar tests, so they work outside of the docker setup 2021-06-26 14:39:36 +03:00
noraj
fbf8ef2f65 test duplicate cookie 2021-06-25 15:10:46 +02:00
HoneyryderChuck
34c6562469 enabling pattern matching only for 3.0.0 2021-06-17 18:09:00 +01:00
HoneyryderChuck
6229e23765 allow headers to be pattern-matched as well 2021-06-17 15:29:09 +01:00
HoneyryderChuck
c7704b6e15 disable pattern matching tests for truffleruby 2021-06-12 13:57:54 +01:00
HoneyryderChuck
f7ecc145e6 added pattern-matching support for responses 2021-06-12 02:44:16 +01:00
HoneyryderChuck
91ba78864d setting LANG, so ruby 2.4 does mess the external encoding 2021-06-11 20:05:11 +01:00
HoneyryderChuck
0c7712ca88 using punycode name as the authority in the headers, which is actually a bugfix 2021-06-11 18:51:57 +01:00
HoneyryderChuck
4df2363cc5 providing strategy for punycode translation, using idnx when possible, falling back otherwise 2021-06-11 18:27:40 +01:00
HoneyryderChuck
5d64f93ec4 isolating idn test 2021-06-11 14:45:23 +01:00
HoneyryderChuck
a9010c5837 bugfix: reset handshake when resetting the connection, as to let the negotiation flow on reconnect 2021-06-02 23:05:36 +01:00
HoneyryderChuck
68955c14b0 added regression test to fix misbehaviour spotted before releasing 0.14.4 2021-06-02 22:56:46 +01:00
HoneyryderChuck
c4e8d7f55f run regression tests only for latest ruby 2021-06-02 19:03:03 +01:00
HoneyryderChuck
dbea29cca8 regressions for bugs fixed in 0.14.2 and 0.14.1 2021-06-02 19:00:14 +01:00
HoneyryderChuck
a14fa26c7c added new regression testing task 2021-06-02 18:44:05 +01:00
HoneyryderChuck
8b9da51c4b bumping delta checks for truffleruby 2021-05-31 14:29:25 +01:00
HoneyryderChuck
2025491cda moar info for tests 2021-05-31 13:55:18 +01:00
HoneyryderChuck
a0ac3354dc disabling grpc for truffleruby 2021-05-31 13:55:18 +01:00
HoneyryderChuck
b569cc9984 adding the settings timeout as an option, as well as a specific error 2021-05-30 00:53:37 +01:00
HoneyryderChuck
77c86c0c22 added test to check whether client times out on settings 2021-05-29 22:53:14 +01:00
HoneyryderChuck
9a34af9e27 moved test servlets to separate folder 2021-05-29 15:50:23 +01:00
HoneyryderChuck
df489676ac adding ntlm auth plugin 2021-05-27 19:11:15 +01:00
HoneyryderChuck
63ec59bb0e scoping squid config 2021-05-27 19:11:15 +01:00
HoneyryderChuck
dda1315db4 adding tests to enure that field order is respected, even when repeated, when performing form/multipart requests (Closes #126) 2021-05-27 19:11:15 +01:00
HoneyryderChuck
c61007ba0f do not forget the filename in those multipart spoofs 2021-05-27 17:53:45 +01:00
HoneyryderChuck
35df9c7683 fix: allow setting arbitrary content types for multipart requests
very useful when testing spoof requests.
2021-05-27 16:50:38 +01:00
HoneyryderChuck
a65104e19f added test for the reported bug 2021-05-26 17:30:50 +01:00
HoneyryderChuck
e6fbe82b41 removing unused code 2021-05-22 16:19:24 +01:00
HoneyryderChuck
2c3280b6d0 Merge branch 'issue-119' into 'master'
new option: origin

See merge request honeyryderchuck/httpx!131
2021-05-22 14:23:05 +00:00
HoneyryderChuck
9801cb7b31 update truffleruby to official images 2021-05-21 16:44:31 +01:00
HoneyryderChuck
76350d9ebb quieting logging of test grpc servers 2021-05-20 00:59:14 +01:00
HoneyryderChuck
ff5ed7be59 added support for TLS channel credentials 2021-05-20 00:59:14 +01:00
HoneyryderChuck
b09aef506e wrapping all responses from the grpc plugin in a GRPC::Call
calls are proxies which can access response metadata as it arrives. For
instance, it's possible to now get metadata (which are http headers)
before the response is fully streamed. #trailing_metadata will also be
empty until the response has been fully processed.

This builds on top of the stream plugin improvements foundation.
2021-05-20 00:11:26 +01:00
HoneyryderChuck
bbe5c2d114 added support for grpc deadline options 2021-05-07 16:55:48 +01:00
HoneyryderChuck
232b94590a grpc: added client and server cancellation request support 2021-05-07 16:55:48 +01:00
HoneyryderChuck
949f073738 added test to prove support for requests cancelled from server 2021-05-06 10:38:20 +01:00
HoneyryderChuck
7a60346bf7 Added trailer header support for writing requests
Request can also add their own trailer headers, either explicitly via
Request#trailers , or via request lifecycle callbacks
2021-05-06 10:38:20 +01:00
HoneyryderChuck
fd31d9de0d allow for compression of grpc messages; testing using grpc 2021-05-06 10:38:20 +01:00
HoneyryderChuck
837c7ddf17 allowing .deflate to be called synchronously 2021-05-06 10:38:20 +01:00
HoneyryderChuck
5772f83149 added client and server stream tests and implementation
bidi calls also "just" work (tm)
2021-05-05 13:18:47 +01:00
HoneyryderChuck
d6a03f3e24 first grpc+proto unary test + implementation 2021-05-04 20:09:50 +01:00
HoneyryderChuck
1cf6e5aac7 new option: origin
by setting the origin, one can pass relative paths to httpx, which will
be appended when building the request.
2021-05-04 20:09:50 +01:00
HoneyryderChuck
dbdf7b95a2 added initial test and implementation of a quasi-unary interface 2021-05-04 20:09:50 +01:00
HoneyryderChuck
ae4b7545b2 added the first grpc test, initially using the gprc gem stub client 2021-04-20 19:04:19 +01:00
HoneyryderChuck
96013c334c fixed socket errors tests (messages different in non-alpine) 2021-04-20 10:36:29 +01:00
HoneyryderChuck
b474dee12c update init script, don't need to install so much 2021-04-20 10:36:29 +01:00
HoneyryderChuck
bf0ec99794 removed the timeout class 2021-04-08 17:34:19 +01:00
HoneyryderChuck
c5b191d4e1 Options: allow to call def_option with a string
One can pass the body to be class_eval'ed, making the option not depend
on define_method.
2021-04-08 15:34:10 +01:00