0.8.0¶ ↑
Features¶ ↑
- 
keep_alive_timeout: for persistent connections, the keep alive timeout will set the connection to be closed if not reused for a request after the last received response;
Improvements¶ ↑
- 
using max_requestsfor HTTP/1 pipelining as well;
- 
retriesplugin now works with plain HTTP responses (not just error responses);
- 
reduced the number of string allocations from log labels; 
- 
performance: a lot of improvements were made to optimize the “waiting for IO events” phase, which dramatically reduced the CPU usage and make the performance of the library more on-par with other ruby HTTP gems for the 1-shot request scenario. 
Bugfixes¶ ↑
- 
fixed HTTPX::Response#copy_to;
- 
fixed compressionplugin not properly compressing request bodies usinggzip;
- 
fixed compressionplugin not handlingcontent-encoding: identitypayloads;
- 
do not overwrite user-defined max_requestson HTTP2 connection handshake;
- 
retriesplugin: connection was blocking when a request with body was retried;
- 
alt-svc: clearresponse header was causing the process to hang;
Tests¶ ↑
- 
Code coverage improved to 91%;