summaryrefslogtreecommitdiff
path: root/pages/layout.swig
diff options
context:
space:
mode:
authorWubTheCaptain <wub@partyvan.eu>2015-09-21 07:26:20 +0200
committerWubTheCaptain <wub@partyvan.eu>2015-09-21 07:26:20 +0200
commit0b5b8136066f50521ad66cb34d81164882042b4f (patch)
tree3fb24cf23205d0715285f75e7b0a1c0abae1d14c /pages/layout.swig
parent504020ae149dfe3ce0ee35b32ef739aa0bd88a34 (diff)
Clean up HTML response construct, uppercase UTF-8
IANA has registered UTF-8 as uppercase, hyphenated. The RFC concerning UTF-8, RFC 3629 also uses this grammar. RFC 2231 says the Content-Type charset value should be: charset := <registered character set name> RFC 5987 further emphasizes this: charset = "UTF-8" / "ISO-8859-1" / mime-charset Therefore lowercase "utf-8" in Content-Type responses is technically incorrect, but case-insensitive according to RFC 2616. Thanks to pantsucat for researching this with me.
Diffstat (limited to 'pages/layout.swig')
0 files changed, 0 insertions, 0 deletions