whatwg / fetch

Fetch Standard
https://fetch.spec.whatwg.org/
Other
2.12k stars 331 forks source link

Define encoding for HTTP Basic Authentication #282

Open annevk opened 8 years ago

annevk commented 8 years ago

See https://bugzilla.mozilla.org/show_bug.cgi?id=436033 which suggests Chrome always uses utf-8 and Firefox sometimes uses utf-8.

mnot commented 8 years ago

FWIW: https://tools.ietf.org/html/rfc7617

especially B.3. Why not simply switch the default encoding to UTF-8?

annevk commented 8 years ago

Right, except that forgot about market reality, in which the really big user agents make the rules for the rest of the ecosystem.

That is, systems will be coded towards Chrome and Safari and not even consider UTF-8 might not be used. That is much more likely than any kind of user-agent sniffing.

mnot commented 8 years ago

If there is convergence (or it emerges), please ping me and we'll get that RFC fixed.