HoneyryderChuck
7f9e68ba3b
fixed: session hangs when HTTP/2 receives a 421
...
While adding a test, a bug was found, where an HTTP/2 connection
receiving a 421 response wasn't redirecting the request well to an
HTTP/1.1 one. This has been fixed by changing the way a new connection
is instantiated.
2020-11-26 17:13:02 +00:00
HoneyryderChuck
322aa06f22
added a test for when an http/2 connection exhausts and a second connection has to be established
2020-11-26 17:12:09 +00:00
HoneyryderChuck
264278a7ce
Merge branch 'issue-103' into 'master'
...
RSS Feed
See merge request honeyryderchuck/httpx!103
2020-11-26 10:17:45 +00:00
HoneyryderChuck
18f3b773ed
adding rss feed links in the page
2020-11-26 10:10:35 +00:00
HoneyryderChuck
4d27d2d17e
adding jekyll-feed
2020-11-26 10:10:17 +00:00
HoneyryderChuck
8f022c43ea
bumped to 0.10.0
v0.10.0
2020-11-25 17:57:32 +00:00
HoneyryderChuck
3e3003a313
Merge branch 'issue-10-2' into 'master'
...
Streaming responses
Closes #10
See merge request honeyryderchuck/httpx!102
2020-11-25 13:37:16 +00:00
HoneyryderChuck
7a5353ea90
fixed signing of the stream session request
2020-11-25 11:54:51 +00:00
HoneyryderChuck
67459a4f86
adding streaming requests to the readme
2020-11-24 17:21:49 +00:00
HoneyryderChuck
350a030473
sleep skews a bit under load, increasing it for reliability
2020-11-24 17:21:29 +00:00
HoneyryderChuck
3688e56640
ensuring that the yielded chunks are strings
2020-11-24 17:21:01 +00:00
HoneyryderChuck
cb3e57e10d
fixing log_exception signature
2020-11-24 16:38:46 +00:00
HoneyryderChuck
1e21c33da0
fixinng the signatures for the last rbs upstream
2020-11-24 00:42:54 +00:00
HoneyryderChuck
6cc24b63f5
forcing request fo fail with exception when there's an error (since we're supporting only 1 stream request at a time, this should be straightforward)
2020-11-24 00:42:54 +00:00
HoneyryderChuck
742d877c76
added #each_line method to stream response
2020-11-24 00:42:52 +00:00
HoneyryderChuck
3ca0b44e29
implementing the stream response
2020-11-24 00:42:38 +00:00
HoneyryderChuck
1b29e062a0
added streaming plugin tests
2020-11-22 22:32:38 +00:00
HoneyryderChuck
a650e622ca
do not close the connection pool, if there's nothing to close
2020-11-22 22:32:38 +00:00
HoneyryderChuck
7e26c86dc1
really closing a response (won't buffer stuff anymore after being closed)
2020-11-22 15:55:44 +00:00
HoneyryderChuck
047875864b
closing the response when not carrying it forward
2020-11-22 15:55:44 +00:00
HoneyryderChuck
fecdd120f8
fixing h2c by not calling the #to_s from response, which now touches the pool in such conditions; we want to flush the buffer, so that's what we do
2020-11-22 15:55:43 +00:00
HoneyryderChuck
fa2fd818fe
added explicit response closing in tests
2020-11-22 15:55:43 +00:00
HoneyryderChuck
b5a971b03b
unnecessary var
2020-11-19 09:44:55 +00:00
HoneyryderChuck
c8663e52ee
do not show IDN message for normal ascii hostnames
2020-11-19 09:44:43 +00:00
HoneyryderChuck
777ab21050
making WRITE/READ more accurate by emitting them at the socket (UDP/TCP) level
2020-11-19 09:44:29 +00:00
HoneyryderChuck
24088decf3
fixing rubocop for remaining ruby versions
2020-11-07 16:55:23 +00:00
HoneyryderChuck
930025a067
newline
2020-11-07 16:43:56 +00:00
HoneyryderChuck
dc3f5ec01e
missing rubocop-performance for 2.3
2020-11-07 16:38:44 +00:00
HoneyryderChuck
3029a39249
disabled rescue alignment for 2.2
2020-11-07 16:25:46 +00:00
HoneyryderChuck
b0983daf2b
wrong 0.81 rubocop version
2020-11-07 16:24:25 +00:00
HoneyryderChuck
ea4ac5bfb9
fix constant usage
2020-11-07 16:17:46 +00:00
HoneyryderChuck
2d078de0a4
non-ascii: force utf8 encoding for all
2020-11-07 16:12:04 +00:00
HoneyryderChuck
81033abd2b
fixing match for proper rubocop version per ruby
2020-11-07 16:11:44 +00:00
HoneyryderChuck
bb1f448bb2
Merge branch 'urlescaping' into 'master'
...
Support for IDN domain names
See merge request honeyryderchuck/httpx!101
2020-11-07 16:04:53 +00:00
HoneyryderChuck
9a17e9451b
do not install brotli in jruby mode
2020-11-07 15:46:08 +00:00
HoneyryderChuck
b47b9de745
for unescaping of non ascii domain to binary (JRuby converts to UTF-8)
2020-11-07 15:46:08 +00:00
HoneyryderChuck
8f495f37d2
avoid using URI.escape directly
2020-11-07 15:36:21 +00:00
HoneyryderChuck
86f1db5bf0
disabling IDN support for ruby < 2.3
2020-11-07 15:36:21 +00:00
HoneyryderChuck
1b26977d16
updated rubocop to 1.0.0 on possible rubies, making the necessary changes
2020-11-07 15:36:21 +00:00
HoneyryderChuck
d900225f2e
added ascii url request tests
2020-11-07 01:41:05 +00:00
HoneyryderChuck
50b65200ed
using the new uri method at the appropriate places; adding some logging when resolving, to correctly identify when translation of IDN hostname happens
2020-11-07 01:41:05 +00:00
HoneyryderChuck
f9c1d7de44
extending URI to include non ascii hostname attribute; added own custom uri initialization function, which performs additional checks when needed
2020-11-07 01:41:05 +00:00
HoneyryderChuck
cbfb5c968e
moving domain_name module to core httpx, as the punycode IDN translation will be needed at this layer
2020-11-07 01:34:48 +00:00
HoneyryderChuck
e271c45582
fixing frozen string issues with punycode, and the String#unicode_normalize
2020-11-06 23:06:39 +00:00
HoneyryderChuck
fe0fc841c9
Merge branch 'breadcrumb' into 'master'
...
adding breadcrumbs to the jekyll layouts
See merge request honeyryderchuck/httpx!100
2020-11-06 17:26:35 +00:00
HoneyryderChuck
5f735cc6f5
Merge branch 'issue-50' into 'master'
...
rate limiter plugin
See merge request honeyryderchuck/httpx!99
2020-11-06 17:25:06 +00:00
HoneyryderChuck
b1e12179d7
Merge branch 'issue-98' into 'master'
...
Cookies: new module
See merge request honeyryderchuck/httpx!98
2020-11-06 17:24:14 +00:00
HoneyryderChuck
98b7d2fc04
using build matrix to test JIT in its own build step
2020-11-06 17:16:02 +00:00
HoneyryderChuck
76817bcc27
updated license with punycode license
2020-11-06 17:03:05 +00:00
HoneyryderChuck
a0247ef458
adding breadcrumbs to the jekyll layouts
2020-11-05 20:02:55 +00:00