From ab37fe8368854b943a1d932c77e4350b20dcee22 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Igor=20Gali=C4=87?= Date: Thu, 18 Nov 2010 02:40:37 +0000 Subject: [PATCH] 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 --- docs/manual/mod/mod_asis.html.en | 4 +++- docs/manual/mod/mod_asis.xml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/manual/mod/mod_asis.html.en b/docs/manual/mod/mod_asis.html.en index 1561afe637..8b6444964b 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 aee0b2f2aa..4da3831def 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 -- 2.40.0