From: Nick Kew
Date: Tue, 21 Feb 2006 21:19:37 +0000 (+0000)
Subject: Fix mod_asis docs re: use of HTTP/CGI headers.
X-Git-Tag: 2.3.0~2527
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f93274cb61ee69e0ccdf3a1de33b9594a4c7f636;p=thirdparty%2Fapache%2Fhttpd.git
Fix mod_asis docs re: use of HTTP/CGI headers.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@379591 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/mod/mod_asis.xml b/docs/manual/mod/mod_asis.xml
index 2f8fbd3ceb5..1887f81abbf 100644
--- a/docs/manual/mod/mod_asis.xml
+++ b/docs/manual/mod/mod_asis.xml
@@ -55,10 +55,10 @@ HTTP headers
The contents of any file with a .asis
extension
will then be sent by Apache to the client with almost no
- changes. Clients will need HTTP headers to be attached, so do
- not forget them. A Status: header is also required; the data
- should be the 3-digit HTTP response code, followed by a textual
- message.
+ 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.
Here's an example of a file whose contents are sent as
is so as to tell the client that a file has