Welcome! Log In Create A New Profile

Advanced

How change Content-Type?

Posted by FoMa 
How change Content-Type?
February 24, 2011 12:52AM
i set in config: add_header Content-Type 'text/javascript; charser=UTF-8';

and i get headers:
HTTP/1.1 200 OK
Server: nginx/0.8.52
Content-Type: application/x-javascript
Content-Type: text/javascript; charset=UTF-8

Browser see only first Content-Type

PS: I use apatch+nginx
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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