Welcome! Log In Create A New Profile

Advanced

Incorrectly getting mime-type for flv files

Fernando Perez
May 26, 2009 03:32AM
Hi,

I use Nginx in front of a Ruby on Rails application. When I upload an
flv file that will be processed by Paperclip, I always get the mime-type
as application/octet-stream although I have a mime.types file included
in nginx' configuration file.

My flv files on disk have a mime-type of application/octet-stream, but
Nginx shouldn't care and when he sees a file coming in he should reset
the mime-type (I guess). Where could the problem come from?

Best regards,
--
Posted via http://www.ruby-forum.com/.
Subject Author Posted

Incorrectly getting mime-type for flv files

Fernando Perez May 26, 2009 03:32AM

Re: Incorrectly getting mime-type for flv files

Jean-Philippe Moal May 26, 2009 03:44AM

Re: Incorrectly getting mime-type for flv files

Fernando Perez May 26, 2009 04:20AM

Re: Incorrectly getting mime-type for flv files

Igor Sysoev May 26, 2009 06:07AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 202
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready