Many headers allow you to sent as multiple headers with the same name for example, Vary, Cache-Control, Accept-Encoding, Set-Cookie etc etc. Not all of them are handled correctly.
I discovered this discrepancy while experimenting with the Vary header. In my case a request is passed through multiple functions. One function adds a Vary header for security reasons but the header is gone because a later function accidentally overrides it owing to yaws:accumulate_header/1's last-write-win semantics.
There is also the issue of not normalising the header names. For example, "Vary" and "vary" are different headers per Yaws.
Many headers allow you to sent as multiple headers with the same name for example,
Vary,Cache-Control,Accept-Encoding,Set-Cookieetc etc. Not all of them are handled correctly.I discovered this discrepancy while experimenting with the Vary header. In my case a request is passed through multiple functions. One function adds a Vary header for security reasons but the header is gone because a later function accidentally overrides it owing to
yaws:accumulate_header/1's last-write-win semantics.There is also the issue of not normalising the header names. For example, "Vary" and "vary" are different headers per Yaws.