httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 43894] New: - Request body assumed absent if neither C-L not T-E specified
Date Sun, 18 Nov 2007 13:42:50 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43894>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43894

           Summary: Request body assumed absent if neither C-L not T-E
                    specified
           Product: Apache httpd-2
           Version: 2.2.6
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: bjoern@hoehrmann.de


Apache 2.2.6 seems to treat HTTP/1.1 requests can have a body but do not 
specify a Content-Length or Transfer-Encoding as if it had Content-Length:0 
specified. For example,

  POST / HTTP/1.1
  Host: example

  DELETE ...

would be handled as two separate requests. This is incorrect, the server
cannot read the request in this case (unless it reads until the client
closes the connection, in which case Apache could not send a response) so it 
should respond with 411 Length Required or 400 Bad Request and close the 
connection. IIS seems to use 411 Length Required.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message