Skip to content

interop: blob with empty content type is not converted to text/xml #357

Open
@dlrobertson

Description

@dlrobertson

According to https://xhr.spec.whatwg.org/#response-mime-type:

If mimeType is failure, then set mimeType to text/xml.

Note: The content-type of the blob is set to "" (an invalid mime type) when the input type is not set or is invalid.

Test Firefox Chrome Safari
no content type text/xml null ""
bad content type text/xml null ""

Related to: whatwg/fetch#1464 and whatwg/fetch#1436

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions