Welcome! Log In Create A New Profile

Advanced

MP4 Content-Type Header

Justin Dorfman
May 30, 2012 05:46PM
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™
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

MP4 Content-Type Header

Justin Dorfman May 30, 2012 05:46PM

Re: MP4 Content-Type Header

Ales Zoulek May 30, 2012 05:48PM

Re: MP4 Content-Type Header

Justin Dorfman May 30, 2012 05:56PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 104
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready