1571 Commits

Author SHA1 Message Date
HoneyryderChuck
3ae18120d2 when users pass a Cookie header as option and plugin is enabled, the header will be parsed and managed by the jar 2021-07-16 09:52:21 +01:00
HoneyryderChuck
ac398ae0f0 bug (unexisting var) 2021-07-15 15:53:15 +01:00
HoneyryderChuck
174f5f9647 allow cookie jar to merge 2021-07-15 15:53:15 +01:00
HoneyryderChuck
1a7025941b allow any option which can be merged, to be merged. This is a semi-breaking change, as some hash-like options will expanded instead of replaced, like the resolver options, but that was unspecified before, no guaarantees 2021-07-15 15:53:15 +01:00
HoneyryderChuck
fec85f29cd added test for cookie jar management, exemplifying what the cookie plugin should be doing 2021-07-15 15:00:29 +01:00
HoneyryderChuck
f9f13abb81 removing internal with_cookies usage 2021-07-15 14:59:44 +01:00
HoneyryderChuck
2ea8b2ec2d Merge branch 'issue-135' into 'master'
Options

Closes #135

See merge request honeyryderchuck/httpx!148
2021-07-14 17:31:11 +00:00
HoneyryderChuck
ac39eb8d36 bump version to 0.15.4 v0.15.4 2021-07-14 09:52:39 +01:00
HoneyryderChuck
514e6cafb3 do not call .marshal directly 2021-07-13 21:12:53 +01:00
HoneyryderChuck
fbe8a16b1c small sig fixes 2021-07-13 20:04:38 +01:00
HoneyryderChuck
e9e3063dcc fixing options class hierarchy, which caused truffleruby to fail 2021-07-13 19:56:59 +01:00
HoneyryderChuck
cab5a94d31 removing setters from Options, which weren't public API anyway 2021-07-13 19:56:59 +01:00
HoneyryderChuck
9d910df01b fixing order of sub-plugins load in nnthe aws sigv4 plugin 2021-07-13 19:56:59 +01:00
HoneyryderChuck
5604501d01 using the new OptionsMethods way for defining internal plugin options 2021-07-13 19:56:59 +01:00
HoneyryderChuck
5c2ad6b588 allow definition of options via OptionsMethods module; using .extra_options for setting defaults 2021-07-13 19:56:59 +01:00
HoneyryderChuck
ec0f3cd163 defining options via normal method definition, def option_optname 2021-07-13 19:56:59 +01:00
HoneyryderChuck
bb9da90bfa added regression test for bug fixed on 0.15.3 2021-07-11 17:09:13 +01:00
HoneyryderChuck
340fb6c7c6 Merge branch 'ojab-master-patch-08963' into 'master'
Don't count `nil` as an retryable error class

See merge request honeyryderchuck/httpx!147
2021-07-11 15:18:53 +00:00
ojab
246094d8fc
Remove uneeded if defined?(TLSError) check
It's always defined
2021-07-11 15:05:21 +00:00
HoneyryderChuck
f7e211b29d Merge branch 'silence_redefinition_warnings' into 'master'
Remove unused method definition, it's defined in the code below

See merge request honeyryderchuck/httpx!146
2021-07-09 16:31:19 +00:00
ojab
b5fe5bec11
Remove unused method definition, it's defined in the code below 2021-07-08 20:51:41 +00:00
HoneyryderChuck
ff46dee7e6 Merge branch 'thread-safe-plugin-load' into 'master'
Thread safe plugin load

See merge request honeyryderchuck/httpx!144
2021-07-07 18:36:07 +00:00
HoneyryderChuck
b6ee019014 several signature improvements while testing with steep 2021-07-07 19:21:36 +01:00
HoneyryderChuck
c9acb1d079 fixing chainable mod sigs 2021-07-07 12:45:55 +01:00
HoneyryderChuck
d59137e90d fixing sort issue on truffleruby 2021-07-07 12:45:33 +01:00
HoneyryderChuck
88088267c6 making options frozen by default 2021-07-07 12:45:14 +01:00
HoneyryderChuck
fcdd492354 forcing body to enumm, to comply with chunker expectation 2021-07-07 12:45:14 +01:00
HoneyryderChuck
c9609c53d1 bumping jekyll 2021-07-07 12:45:14 +01:00
HoneyryderChuck
08fa918537 initializing error classes more conventionally 2021-07-07 12:45:14 +01:00
HoneyryderChuck
6275108b49 raising TypeError on wrong-type option attribution instead 2021-07-07 12:45:14 +01:00
HoneyryderChuck
b5ec7acd51 making get/set access to the plugins hash thread-safe 2021-07-07 12:45:14 +01:00
HoneyryderChuck
0653c1e74f fixing links in website 2021-07-06 22:59:53 +01:00
HoneyryderChuck
5555ee5554 bumped version to 0.15.3 v0.15.3 2021-07-05 13:50:33 +01:00
HoneyryderChuck
8d5f693965 Merge branch 'issue-138' into 'master'
bugfix: selectables reassignment must ensure it remains an array of IO

Closes #138

See merge request honeyryderchuck/httpx!145
2021-07-05 08:30:53 +00:00
HoneyryderChuck
793f034a91 bugfix: selectables reassignment must ensure it remains an array of IO
objects
2021-07-04 23:42:53 +01:00
HoneyryderChuck
f29b4a32d8 type selectables in selector 2021-07-04 23:42:35 +01:00
HoneyryderChuck
ce2cd97f0c bump version to 0.15.2 v0.15.2 2021-07-01 14:15:18 +03:00
HoneyryderChuck
66331a2319 Merge branch 'master' of gitlab.com:honeyryderchuck/httpx 2021-07-01 14:14:47 +03:00
HoneyryderChuck
0c9d59d4ae ignore regression tests for coverage 2021-07-01 14:04:47 +03:00
HoneyryderChuck
0216a7eed7 improve selector loops 2021-07-01 14:04:47 +03:00
HoneyryderChuck
b20b5b5ee4 array of symmbols for options 2021-07-01 14:04:47 +03:00
HoneyryderChuck
21428f2d5b loggable: do not color-format code if there's no color 2021-07-01 14:04:47 +03:00
HoneyryderChuck
a2c6472ba0 Merge branch 'noraj-master-patch-60376' into 'master'
gemspec: add homepage_uri metadata

See merge request honeyryderchuck/httpx!143
2021-06-30 16:06:12 +00:00
noraj
f83349f10d gemspec: add homepage_uri metadata 2021-06-30 12:49:37 +00:00
HoneyryderChuck
5b217c5700 Merge branch 'cookie/dup' into 'master'
test duplicate cookie

See merge request honeyryderchuck/httpx!142
2021-06-30 09:35:42 +00:00
HoneyryderChuck
7e9b6c96f1 evicting existing cookies in the jar when containing same name, domain and path 2021-06-30 11:02:15 +03:00
HoneyryderChuck
b00f8575d7 raise appropriate error message if .plugin called with odd second parameter 2021-06-26 15:49:00 +03:00
HoneyryderChuck
9c62f46189 cookie order: do not rely on value 2021-06-26 15:15:09 +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