DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11668>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11668 mod proxy & mod_rewite generate a invalid http response Summary: mod proxy & mod_rewite generate a invalid http response Product: Apache httpd-1.3 Version: 1.3.26 Platform: Other OS/Version: Linux Status: NEW Severity: Major Priority: Other Component: mod_proxy AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] Sorry for my english and thanks in advance. When the mod_rewite / mod_proxy are used to forward a http response such as: HTTP/1.1 200 \r\n Content-Type: text/html\r\n Content-Length: 1158\r\n ... and HTTP/1.1 200 has a final back space without a Reason-Phrase ( Reason-Phrase has length 0 ) the mod_proxy returns a http response such as: HTTP/1.1 200 \n \r\n Content-Type: text/html\r\n Content-Length: 1158\r\n ... I have looked in the http 1.1 rfc (rfc2068) and it seams that the Reason-Phrase is mandatory but can have 0 characters. The production grammar in rfc2068 is : Reason-Phrase = *<TEXT, excluding CR, LF> and the * meta-char is explained as: *rule The character "*" preceding an element indicates repetition. The full form is "<n>*<m>element" indicating at least <n> and at most <m> occurrences of element. Default values are 0 and infinity so that "*(element)" allows any number, including zero; "1*element" requires at least one; and "1*2element" allows one or two. I think that the black character is mandatory ( with or without a Reason- Phrase ) but the Reason-Phrase can be an empty String. The bug is that HTTP/1.1 200 \n \r\n Content-Type: text/html\r\n Content-Length: 1158\r\n is returned by the mod_proxy and is not a valid http response message. The apache is a 1.3.26 compiled in SUSE linux. The server that generates the http message to be forwarded by the mod_proxy is an aplication server that i am developing. Thanks in advance. Ignacio Holgado Mazariegos --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
