Skip to content

net/http: DetectContentType does not detect the mp4 mimetype #8773

Closed
@verokarhu

Description

@verokarhu
What does 'go version' print?
Go 1.3.1

What steps reproduce the problem?

1. Write mp4 data to ResponseWriter

What happened?
The Content-Type header is set to "application/octet-stream"

What should have happened instead?
The Content-Type header is set to "video/mp4"

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeSuggestedIssues that may be good for new contributors looking for work to do.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions