reverse_proxy_plug
reverse_proxy_plug copied to clipboard
Investigate restoring streaming request body through to upstream
This functionality was effectively removed to fix #175 - the new version of this functionality should fulfil two requirements:
- it should be tested to work with each adapter -
{:stream, _}as a input value for the upstream body was supported byHTTPoison, but it was unclear (and untested) whether this was supported by the Tesla adapter at all - as #175, we need to forward
connwhenever we usePlug.Conn.read_body- but that seems to be at odds with passing in a stream to the library. PerhapsStream.resource, andsending the latestconnto ourselves?