Skip to content

Implement Mime sniffing to determine the resource mime type #512

@krichprollsch

Description

@krichprollsch

mime type

In browser.zig, the HTTP response's content type is base only on content-type HTTP header.
If the header is missing, we assume the content type is text/html.

But we should instead implement Mime sniff to detect the current document's mime type.

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