From: Igor Galić Date: Thu, 18 Nov 2010 02:40:37 +0000 (+0000) Subject: Content-Length is set by mod_asis. X-Git-Tag: 2.3.9~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab37fe8368854b943a1d932c77e4350b20dcee22;p=thirdparty%2Fapache%2Fhttpd.git Content-Length is set by mod_asis. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1036315 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_asis.html.en b/docs/manual/mod/mod_asis.html.en index 1561afe6379..8b6444964b3 100644 --- a/docs/manual/mod/mod_asis.html.en +++ b/docs/manual/mod/mod_asis.html.en @@ -70,7 +70,9 @@ HTTP headers changes. In particular, HTTP headers are derived from the file itself according to mod_cgi rules, so an asis file must include valid headers, and may also use the CGI - Status: header to determine the HTTP response code.

+ Status: header to determine the HTTP response + code. The Content-Length: header will automatically + be inserted or, if included, corrected by httpd.

Here's an example of a file whose contents are sent as is so as to tell the client that a file has diff --git a/docs/manual/mod/mod_asis.xml b/docs/manual/mod/mod_asis.xml index aee0b2f2aaa..4da3831def3 100644 --- a/docs/manual/mod/mod_asis.xml +++ b/docs/manual/mod/mod_asis.xml @@ -58,7 +58,9 @@ HTTP headers changes. In particular, HTTP headers are derived from the file itself according to mod_cgi rules, so an asis file must include valid headers, and may also use the CGI - Status: header to determine the HTTP response code.

+ Status: header to determine the HTTP response + code. The Content-Length: header will automatically + be inserted or, if included, corrected by httpd.

Here's an example of a file whose contents are sent as is so as to tell the client that a file has