Forgot to include the language about suppressing the logging of header

overrides, that was discussed in:

http://mail.python.org/pipermail/web-sig/2004-September/000749.html

Also, misc. copy edits.
This commit is contained in:
Phillip J. Eby 2004-09-14 05:06:44 +00:00
parent a3f454b296
commit 6fec30dfc6
1 changed files with 5 additions and 2 deletions

View File

@ -560,6 +560,9 @@ but the server wishes transience, or vice versa.
However, if a server or gateway discards or overrides any application
header for any reason, it **must** record this action in a log (such as
the ``wsgi.errors`` log) for the benefit of the application author.
(However, it **may** also give administrators the option of suppressing
such output, so that users who cannot fix a broken application are not
forced to bear the pain of its error.)
The ``start_response`` callable **must not** actually transmit the
HTTP headers. It must store them until the first ``write`` call,
@ -1143,7 +1146,7 @@ Servers and gateways **must** provide transparent support for HTTP
may be done in any of several ways:
1. Reject all client requests containing an ``Expect: 100-continue``
header with a "417 Expectation failed" error. Such requests will
header with a "417 Expectation failed" error. Such requests should
not be forwarded to an application object.
2. Respond to requests containing an ``Expect: 100-continue`` request
@ -1155,7 +1158,7 @@ may be done in any of several ways:
input stream. The read request must then remain blocked until the
client responds.
Note that this behavior restriction does not apply for HTTP 1.0
Note that these behavior restrictions do not apply for HTTP 1.0
requests, or for requests that are not directed to an application
object. For more information on HTTP 1.1 Expect/Continue, see RFC
2616, sections 8.2.3 and 10.1.1.