Bug #77155 [Com]: Location header no longer coexists with status 201

From: Date: Fri, 16 Nov 2018 15:54:19 +0000
Subject: Bug #77155 [Com]: Location header no longer coexists with status 201
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-217991@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=77155&edit=1

 ID:                 77155
 Comment by:         marnick dot leau at gmail dot com
 Reported by:        marnick dot leau at gmail dot com
 Summary:            Location header no longer coexists with status 201
 Status:             Open
 Type:               Bug
 Package:            CGI/CLI related
 Operating System:   Linux
 PHP Version:        7.2.12
 Block user comment: N
 Private report:     N

 New Comment:

Didn't think of it, sorry. Do you want me to run that now or have you already been able to
reproduce it now?


Previous Comments:
------------------------------------------------------------------------
[2018-11-16 15:49:36] cmb@php.net

Thanks!

------------------------------------------------------------------------
[2018-11-16 15:48:54] spam2 at rhsoft dot net

honestly that's why phpinfo() shows SAPI and so on to provide basic informations  in the
initial report - keep in mind people need to duplicate issues and so in doubt need an as much as
possible environment to debug

------------------------------------------------------------------------
[2018-11-16 15:39:39] marnick dot leau at gmail dot com

cgi-fcgi

------------------------------------------------------------------------
[2018-11-15 16:45:20] cmb@php.net

> I use php in lighttpd, is fastcgi the answer you need?

Not quite.  What does php_sapi_name() return (likely either
cgi-fcgi or fpm-fcgi).

------------------------------------------------------------------------
[2018-11-15 16:31:14] marnick dot leau at gmail dot com

I use php in lighttpd, is fastcgi the answer you need?

Your example is 303, have you tried 201?

I suppose it could be a lighttpd issue too, but lighttpd's changelog doesn't mention
anything like this either, and php has a history of being bossy about Location+status, so I started
here...

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=77155


--
Edit this bug report at https://bugs.php.net/bug.php?id=77155&edit=1


Thread (11 messages)

« previous php.bugs (#217991) next »