Take encoding into account when parsing link headers & early hints · Issue #9715 · whatwg/html (original) (raw)

It would be good to write tests to see what browsers do for _non_-early Link headers. Do they use Content-Type, or do they always use UTF-8?

I hope that at least some browsers always use UTF-8, and so we can have the simple rule "if it's a Link header, we use UTF-8; if it's <link>, we use the document's encoding".