Closed Bug 820208 Opened 12 years ago Closed 12 years ago

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

Categories

(Testing :: Mochitest, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: cpearce, Assigned: cpearce)

References

Details

Attachments

(1 file)

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.
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 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+
this patch has to land in m-c?
We don't seem to need this anymore, another change I made must have worked around the need for this.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: