Skip to content

MIME type parsing, spaces before = #34

@annevk

Description

@annevk
HTTP/1.1 200
Content-Length: 55
Content-Type: text/html;charset =gbk

<script>document.write(document.characterSet)</script>

Gives GBK in Chrome and Edge, windows-1252 in Firefox and Safari. I'm inclined to align with Firefox and Safari given that they match the RFC. Filing this as a reminder and to save the "test".

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions