Zexbox.Metrics.HTTPClient (Zexbox v1.8.0)

Copy Markdown View Source

Instream.HTTPClient that works with hackney 1.x and 4.x.

Instream's built-in client reads the body with :hackney.body/1, which hackney 4 no longer supports: it returns the body in the response tuple.