Welcome! Log In Create A New Profile

Advanced

Re: content-type does not match mime type

B.R.
October 22, 2016 09:44AM
Associating types to file extensions is done through the types
<http://nginx.org/en/docs/http/ngx_http_core_module.html#types> directive.
You probably have a default_type
<http://nginx.org/en/docs/http/ngx_http_core_module.html#default_type>
directive in a global location defining it to application/octet-stream.
---
*B. R.*

On Thu, Oct 20, 2016 at 5:06 PM, shang yu <yushang@outlook.com> wrote:

> Hi dear all,
>
> When I GET a xlsx file from nginx server , the response header
> Content-Type is application/octet-stream , not the expected
> application/vnd.openxmlformats-officedocument.spreadsheetml.sheet , why ?
> many thanks !!!
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

content-type does not match mime type

shang yu October 20, 2016 11:08AM

Re: content-type does not match mime type

B.R. October 22, 2016 09:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 329
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