feignx
feignx copied to clipboard
Large response can be read using Response input stream
See #22
Scenario: Simple HTTP request that results for a large file can be streamed from the Response by interacting with the input stream directly.
Given: a request is made to a known endpoint, When: the request is sent to the target, And: a response is returned with a 200 response code And: the response is not empty Then: the input stream provided by the Response.
Additional Context This test case should demonstrate that it is possible to handle the response streams directly by users, either in a decoder or bypassing the decoder entirely.