appcues / mojito

An easy-to-use Elixir HTTP client, built on the low-level Mint library.
https://hexdocs.pm/mojito/Mojito.html
MIT License
349 stars 34 forks source link

Handle Connection: Close for pool: false requests #64

Closed bmteller closed 4 years ago

bmteller commented 4 years ago

See: https://github.com/appcues/mojito/issues/63

There doesn't seem to be an easy way in Plug to force a connection to close and not send the content-length header so I've accessed plug/cowboy internals to do this in the test.

gamache commented 4 years ago

This looks great. Thanks for the patch!