Comment

Comment by Zash

Since we're sharing our own WTFs;

You can include the same header multiple time in a HTTP message, and this is equivalent to having one such header with a comma-separated list of values.

Then there's WWW-Authenticate (the one telling you to re-try with credentials). It has a comma-separated list of parameters.

The combination of those two leads to brokenness, like how recently an API thing would not get Firefox to ask for username and password, because it happened to have put "Bearer" before "Basic" in the list.

https://tools.ietf.org/html/rfc7235#section-4.1

parent Zash 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton