1083 Commits

Author SHA1 Message Date
HoneyryderChuck
8157814b66 Merge branch 'issue-97' into 'master'
Ruby 3

See merge request honeyryderchuck/httpx!97
2020-10-30 18:14:06 +00:00
HoneyryderChuck
10b588e948 typing blog post 2020-10-30 16:19:18 +00:00
HoneyryderChuck
091ab764c9 fixed the endless loop on exception for good
type check errors were sometimes causing the request loop to stall. This
was due to it not being handled in pool, and the respective requests not
being reaped. On exit, the session would try to close these connections,
but they weren't available anymore, causing it to happen. We were
already doing this for Interrupt, we're just extending it for all
non-StandarError exceptions
2020-10-30 16:19:18 +00:00
HoneyryderChuck
805096b721 signing the http1 parser as well 2020-10-30 16:19:18 +00:00
HoneyryderChuck
96eaf1ef05 moar coverage 2020-10-30 16:19:18 +00:00
HoneyryderChuck
0fe4040da0 improved the parser coverage
* removed needless tests;
* testing error paths;
* removed some unreachable code;
* removed branching of #parse calls;
2020-10-30 16:19:18 +00:00
HoneyryderChuck
e02e8029ad made encoder API more consistent across request body encoders 2020-10-30 16:19:18 +00:00
HoneyryderChuck
9efd2a0a2e fixed the request mock, which triggered a typing error 2020-10-30 16:19:18 +00:00
HoneyryderChuck
b24ad8b605 refactored the compression plugins to use inflater/deflater API
during the typing sessions, it was clear that there was some confusion
around the decoder/encoder concept as well as API convolution, i.e. zlib
implementation details leaked to the main compression module.

Therefore, interfaces for Deflater/Inflater were build from the ground
up, and the modules were rewritten accordingly.
2020-10-30 16:19:18 +00:00
HoneyryderChuck
04e8f04893 reorganizing and removind code 2020-10-30 16:19:18 +00:00
HoneyryderChuck
e0c88f642f loading plugins upfront when runtime type checking is enabled, as they need to be in memory 2020-10-30 16:19:18 +00:00
HoneyryderChuck
33487d03d5 fixing build_requests signatures, as 4 top parameters aren't supported, and one calls map although one expects #each 2020-10-30 16:19:18 +00:00
HoneyryderChuck
cb4a30d7f3 removed some more unnnecessary apis
removed unused method, that shouldn't be there

remove unnecessary methods from the error response
2020-10-30 16:19:18 +00:00
HoneyryderChuck
f8877df2e1 enforce the nneed for the response body class to be a subclass of the response body 2020-10-30 16:19:18 +00:00
HoneyryderChuck
ec8d400081 skip default assignment, so that typing works better at that level 2020-10-30 16:19:18 +00:00
HoneyryderChuck
edc922843a run rbs check in tests 2020-10-30 16:19:18 +00:00
HoneyryderChuck
7c4ef3b12c plugin: pass block further, also request: do not convert to string, nonw that we'll have signatures 2020-10-27 17:00:44 +00:00
HoneyryderChuck
936a8533a7 initial signatures for typed ruby 2020-10-27 17:00:44 +00:00
HoneyryderChuck
16d9b2a4de using common settings for tests in the new images 2020-10-19 01:45:55 +01:00
HoneyryderChuck
5c93746718 not using alpine for jruby 2020-10-10 15:53:19 +01:00
HoneyryderChuck
c758b6e49d added truffleruby image 2020-10-10 15:53:19 +01:00
HoneyryderChuck
29e0e0e63a added ruy 3.0 rc image 2020-10-10 15:52:16 +01:00
HoneyryderChuck
f6b775639f bumped version to 0.9.0 v0.9.0 2020-10-08 10:47:24 +01:00
HoneyryderChuck
a7e2fdc2ad restricting jekyll usage a bit more 2020-10-07 14:53:34 +01:00
HoneyryderChuck
5f70e1c8bb Merge branch 'single-gemfile' into 'master'
Single Gemfile with groups

See merge request honeyryderchuck/httpx!96
2020-10-07 13:50:22 +00:00
HoneyryderChuck
2b67b8c0a9 removing www path dependency 2020-10-07 10:06:06 +01:00
HoneyryderChuck
02f6a71e5b remove superfluous log 2020-10-07 02:19:14 +01:00
HoneyryderChuck
7134e87b32 separated the gems by groups 2020-10-07 02:01:03 +01:00
HoneyryderChuck
a82b028c83 Merge branch 'build-request' into 'master'
HTTPX::Session#build_request

See merge request honeyryderchuck/httpx!95
2020-10-06 17:38:11 +00:00
HoneyryderChuck
b67c5d53e0 starting notes on the next minor version 2020-10-06 16:52:18 +01:00
HoneyryderChuck
978a5ffa22 promoting build_request to public API, thereby allowing users to create request objects and pass them on to #send 2020-10-06 16:24:45 +01:00
HoneyryderChuck
9f33518850 options.merge: return the same object if the one being merged is empty 2020-10-06 16:23:47 +01:00
HoneyryderChuck
7d9c5a722e added tests for build_request as public api from session 2020-10-06 16:23:18 +01:00
HoneyryderChuck
c826ad5da0 Merge branch 'blog' into 'master'
added 2 posts

See merge request honeyryderchuck/httpx!94
2020-10-05 16:10:16 +00:00
HoneyryderChuck
a6d21934c2 added 2 posts 2020-10-05 16:57:11 +01:00
HoneyryderChuck
207382d766 Merge branch 'fix-wiki' into 'master'
Fix wiki

See merge request honeyryderchuck/httpx!93
2020-10-03 10:14:56 +00:00
HoneyryderChuck
01a4122e97 moving common test settings to yaml config, do not load docker:dind everywhere 2020-10-03 11:07:06 +01:00
HoneyryderChuck
2f2d2a69b2 moving hanna-nouveau to jekyll setup, setting up different gemfile in CI 2020-10-03 11:06:51 +01:00
HoneyryderChuck
7376de2cab added missing git, for the wiki 2020-10-03 10:39:06 +01:00
HoneyryderChuck
dbbcf4acda fixed images from previous blog post 2020-10-03 10:26:15 +01:00
HoneyryderChuck
148b1b7f06 fixed coverage link 2020-10-03 10:19:01 +01:00
HoneyryderChuck
0f9256480b fixing wiki in main page 2020-10-03 01:47:13 +01:00
HoneyryderChuck
d50b6505f5 Merge branch 'issue-96' into 'master'
Merge Coverage + CI cache

See merge request honeyryderchuck/httpx!92
2020-10-02 23:38:08 +00:00
HoneyryderChuck
019b41a70c removed the nodocs 2020-10-03 00:28:17 +01:00
HoneyryderChuck
c6535772df fixed link to old class 2020-10-03 00:14:12 +01:00
HoneyryderChuck
851c33fa23 building jekyll and coverage in separate tasks 2020-10-02 19:36:49 +01:00
HoneyryderChuck
9c8adfcb55 enabling merging of coverage reports 2020-09-30 11:45:58 +01:00
HoneyryderChuck
af1437ea39 Merge branch 'blog' into 'master'
two new posts about ruby 2

See merge request honeyryderchuck/httpx!91
2020-09-06 15:19:18 +00:00
HoneyryderChuck
102738348a two new posts about ruby 2 2020-09-06 16:10:43 +01:00
HoneyryderChuck
1b234c3944 Merge branch 'blog' into 'master'
blog post about devise

See merge request honeyryderchuck/httpx!90
2020-08-15 14:45:34 +00:00