slogsdon / elixir-reverse-proxy

A Plug based, reverse proxy server written in Elixir.
https://hex.pm/packages/reverse_proxy
MIT License
147 stars 34 forks source link

Handle the case where the response has already been parsed with Plug.Parsers #18

Open baldmountain opened 7 years ago

baldmountain commented 7 years ago

I think this should work with Phoenix. Tests still run and I added a test to run the response through the Plug JSON parser and make sure it generates the expected body OK.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.4%) to 95.238% when pulling 373f46371c9667d216880dcf9c23e55593230b26 on baldmountain:master into 30ed00f591bf7b28b4046961fec4b8610b150621 on slogsdon:master.