Register MP4, MP3, and M4A extensions with appropriate Content-Types for httpd.js

RESOLVED WORKSFORME

Status

Testing
Mochitest
RESOLVED WORKSFORME
5 years ago
5 years ago

People

(Reporter: cpearce, Assigned: cpearce)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
I want to register MP4, M4A and MP3 file extensions with appropriate mime types in httpd.js. Currently httpd.js serves MP4 files with Content-Type=video/mpeg4 which is not the correct mime type, and causes test failures. Rather than using ^headers^ individually for *every* MP4 test file in the tree, we should just serve the correct mime type by default.
(Assignee)

Comment 1

5 years ago
Created attachment 690632 [details] [diff] [review]
Patch: Register MP4, MP3, and M4A extensions with appropriate Content-Types for httpd.js

Register MP4, MP3, and M4A extensions with appropriate Content-Types for httpd.js. Otherwise we serve MP4 with the incorrect Content-Type, and mochitests fail.
Attachment #690632 - Flags: review?(ctalbert)

Comment 2

5 years ago
Comment on attachment 690632 [details] [diff] [review]
Patch: Register MP4, MP3, and M4A extensions with appropriate Content-Types for httpd.js

looks good, thanks.
Attachment #690632 - Flags: review?(ctalbert) → review+

Comment 3

5 years ago
this patch has to land in m-c?
(Assignee)

Comment 4

5 years ago
We don't seem to need this anymore, another change I made must have worked around the need for this.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.