HoneyryderChuck
|
15a5ffffdd
|
allow to pass a custom body class, which only needs to implement the constructor signature and #<<
|
2017-12-11 13:10:58 +00:00 |
|
HoneyryderChuck
|
40a73f5a7b
|
made body threshold size (the max buffered size after which the response body is buffered to disk) a top-level option
|
2017-12-11 12:43:05 +00:00 |
|
HoneyryderChuck
|
d8eb3bbe5f
|
went back from returning partial responses, and only expose fully buffered responses to the user; the main issue being, the main API favours closing the connection after requests, and this makes the whole handling of partial responses confusing and error prone; this way, one can buffer the body, even to the filesystem, and maybe make this tunable in the future
|
2017-12-08 19:01:44 +00:00 |
|
HoneyryderChuck
|
ee59c71274
|
allow to return early responses just with headers; added a bufferable body, which means, when body is requests, it fetches it (if not available yet); for this, the selector must be exposed to all sub-levels; the response body by default buffers first/returns later for #to_s, and buffers and yields chunks on #each
|
2017-12-06 17:20:03 +00:00 |
|
HoneyryderChuck
|
46a1223187
|
addest tests for headers/request/response
|
2017-11-28 14:00:16 +00:00 |
|