Problems with HTTP/2
Aapo Talvensaari
aapo.talvensaari at gmail.com
Mon Sep 28 22:06:50 UTC 2015
On 29 September 2015 at 00:01, Valentin V. Bartenev <vbart at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150929/6dabbff8/attachment.html>
More information about the nginx
mailing list