Commit 3784d1a1 authored by Roy T. Fielding's avatar Roy T. Fielding
Browse files

Added a complete implementation of the Expect header field as

specified in rev-05 of HTTP/1.1.  Used that implementation as a means
of disabling the 100 Continue response when we already know the final
status, which is mighty useful for PUT responses that result in 302 or 401.

Moved two ugly protocol condition checks that were in http_request.c
over to where they belong in http_protocol.c.  They were put there
originally because ap_read_request formerly could not return an
error response, but I added that capability in 1.3.2.

Added removal of extra trailing whitespace from the getline results as part
of the protocol processing, which is extra nice because it works
between continuation lines, is almost no cost in the normal case
of no extra whitespace, and saves memory.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@82229 13f79535-47bb-0310-9956-ffa450edef68
parent 669bda6b
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment