On 29 September 2015 at 00:01, Valentin V. Bartenev <vbart@nginx.com> wrote:
> >On Monday 28 September 2015 20:59:23 Aapo Talvensaari wrote:
> >> On 28 September 2015 at 19:44, Valentin V. Bartenev <vbart@nginx.com>
> wrote:
> >> If Ajax request sends a PUT request with XmlHtttpRequest I do get:
> >> net::ERR_SPDY_COMPRESSION_ERROR
> >>
> >> But this is only when the PHP-FPM reponds with error code:
> >>
> >> <?php
> >> header(':', true, 403);
> >> die(json_encode(array( ... )));
> >
> > What does ":" mean in the header() function?
> > If it returns ":" as a header, then it's the cause of the error.
>
> It just sets the status code. It is normal PHP 5.3 code [1]. I might need
to compile nginx by hand to get more debug info.
[1] http://php.net/manual/en/function.http-response-code.php#109435
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx