Valentin V. Bartenev
vbart at nginx.com
Tue Jun 16 11:50:36 UTC 2015
On Tuesday 16 June 2015 13:35:55 Witold Filipczyk wrote:
> On Tue, Jun 16, 2015 at 12:37:39PM +0200, Lukas Tribus wrote:
> > > Hi,
> > > <?php
> > > header('Content-Type: text/html;');
> > Thats invalid. Either:
> > text/html; charset=iso-8859-1
> > or
> > text/html
> > but not with a trailing semicolon.
> Content-Type is used in many places in nginx, for example in the sub module.
> In the above example, the content-type is cheated.
As already pointed out "text/html;" isn't a valid media type.
See RFC 7231: https://tools.ietf.org/html/rfc7231#section-18.104.22.168
Please fix your application.
wbr, Valentin V. Bartenev
More information about the nginx-devel