Skip to content

Investigate restoring streaming request body through to upstreamย #176

@mwhitworth

Description

@mwhitworth

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 by HTTPoison, but it was unclear (and untested) whether this was supported by the Tesla adapter at all
  • as Broken in Bandit (also silently in Cowboy)ย #175, we need to forward conn whenever we use Plug.Conn.read_body - but that seems to be at odds with passing in a stream to the library. Perhaps Stream.resource, and sending the latest conn to ourselves?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions