Updated calls to put_resp_header to use all-lower-case header names.
The Plug docs recommend using lower-case header names to avoid duplicates since the duplicate check in put_resp_header is case-sensitive. We had this problem, but the duplicate header names only caused trouble when we were using SSL. It gave us an ERR_SPDY_PROTOCOL_ERROR in Chrome. Each browser reacted differently, but none got a response. Down-casing the header names Samly adds eliminated the duplicates and fixed our problem.
Updated calls to
put_resp_header
to use all-lower-case header names.The Plug docs recommend using lower-case header names to avoid duplicates since the duplicate check in
put_resp_header
is case-sensitive. We had this problem, but the duplicate header names only caused trouble when we were using SSL. It gave us anERR_SPDY_PROTOCOL_ERROR
in Chrome. Each browser reacted differently, but none got a response. Down-casing the header names Samly adds eliminated the duplicates and fixed our problem.Thanks for your work on this library!