[wp-trac] Re: [WordPress Trac] #8226: WP returns invalid status
headers when PHP runs as CGI
WordPress Trac
wp-trac at lists.automattic.com
Tue Nov 18 08:26:19 GMT 2008
#8226: WP returns invalid status headers when PHP runs as CGI
-------------------------------------+--------------------------------------
Reporter: tenpura | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.7
Component: General | Version: 2.7
Severity: normal | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+--------------------------------------
Comment (by snakefoot):
Sending the proper header requires two lines (First gives the error code,
the other gives the status-message)
{{{
header("HTTP/1.1 410 Gone");
header('status: 410 Gone');
}}}
--
Ticket URL: <http://trac.wordpress.org/ticket/8226#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list