Subject: | Status-Line of HTTP response busted under non-mod-perl |
http://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html
The proper format for the first line of an HTTP response is:
HTTP-Version SP Status-Code SP Reason-Phrase CRLF
In other words, for example:
HTTP/1.1 200 OK
The code is the else branch of the IS_MODPERL condition in http_error
erroneously inserts a "Status: " between the HTTP-Version and
Status-Code, seriously breaking this module. Responses cannot be
properly parsed because of this.
The fix is trivial: s/Status: // globally only changes one line: the
bad one.
--
rjbs