You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2007/11/18 14:42:50 UTC

DO NOT REPLY [Bug 43894] New: - Request body assumed absent if neither C-L not T-E specified

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


DO NOT REPLY [Bug 43894] - Request body assumed absent if neither C-L not T-E specified

Posted by bu...@apache.org.
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


bjoern@hoehrmann.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From bjoern@hoehrmann.de  2007-11-18 08:45 -------
Actually, since the lack of C-L and T-E indicates the lack of a body, this 
behavior, while perhaps not optimal, is not incorrect.

-- 
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