MP4 Content-Type Header

Justin Dorfman jdorfman at netdna.com
Wed May 30 21:45:04 UTC 2012


Hello All,


I am noticing when I run curl on a MP4 file I get the
application/octet-stream content type:


curl -I http://192.168.3.117/videofile.mp4

HTTP/1.1 200 OK
Content-Type: application/octet-stream


Is there a reason why it wouldn't be "video/mp4"?

A few users have said "it is causing issues in players". (vague I know)


Here is the vhost: https://gist.github.com/4b4e6e8ce2506d35b168 (very
long to paste in here IMO, if I am breaking a rule I am sorry, I will
paste it in the email from now on)


nginx version: nginx/1.2.0

configure arguments: --with-http_stub_status_module
--with-http_ssl_module --with-http_secure_link_module
--add-module=/home/justin/ngx_cache_purge-1.5
--add-module=/home/justin/ngx_mp4_module-0.9.4
--add-module=/home/justin/ngx_flv_module-0.9


Thanks in advance!

Regards,

Justin Dorfman <http://www.twitter.com/jdorfman>

NetDNA <http://www.netdna.com>™
The Science of Acceleration™
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120530/db3c9a97/attachment.html>


More information about the nginx mailing list