diff options
author | Loïc Hoguin <[email protected]> | 2018-11-02 13:54:19 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-11-02 13:54:19 +0100 |
commit | e0b036fe68579b3ffb69b450acf2d17bb7162cf3 (patch) | |
tree | 4be263290f0ae3bef6b9bd940f6624cf035607d3 /src/cowboy_app.erl | |
parent | 399b6a16b4a571e293437dcc8f85808f83b32ff6 (diff) | |
download | cowboy-e0b036fe68579b3ffb69b450acf2d17bb7162cf3.tar.gz cowboy-e0b036fe68579b3ffb69b450acf2d17bb7162cf3.tar.bz2 cowboy-e0b036fe68579b3ffb69b450acf2d17bb7162cf3.zip |
Add tests for charsets_provided
Fix cases where the q-value is 0 and where a wildcard
was sent in the accept-charset header.
Also don't send a charset in the content-type of the
response if the media type is not text.
Thanks to Philip Witty for help figuring this out.
Diffstat (limited to 'src/cowboy_app.erl')
0 files changed, 0 insertions, 0 deletions