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-3.1.1.1

Please fix your application.

  wbr, Valentin V. Bartenev

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to