]> granicus.if.org Git - php/commit
Use "Status: %d" instead of "HTTP/1.0 %d X" in the CGI SAPI module
authorSascha Schumann <sas@php.net>
Wed, 3 Jul 2002 11:44:48 +0000 (11:44 +0000)
committerSascha Schumann <sas@php.net>
Wed, 3 Jul 2002 11:44:48 +0000 (11:44 +0000)
commit99cfb41da0c11b417cb276ed240c749524d356d6
treee2102f89e44812bbb30a78ae994c7869cd0cff7f
parent9dcfbf41fa9cd92c38dd550e9e4afa6a48fe082d
Use "Status: %d" instead of "HTTP/1.0 %d X" in the CGI SAPI module
as per the CGI RFC.

The status notation is incompatible with Apache's non-parsed-header mode
"nph-*", but that has never worked before anyway.  One could make the
format string configurable.

Noticed by: Sebastian Bergmann
sapi/cgi/cgi_main.c