From: Igor Galić 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
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