diff --git a/pep-0333.txt b/pep-0333.txt index 31b2162f2..24df64e0f 100644 --- a/pep-0333.txt +++ b/pep-0333.txt @@ -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.