1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-06 09:01:14 +03:00
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1370159 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Daniel Gruno
2012-08-07 10:05:19 +00:00
parent 2e9e74fd6c
commit c284a64fe4
2 changed files with 96 additions and 8 deletions

View File

@@ -374,26 +374,50 @@ end
<th><strong>Description</strong></th>
</tr>
<tr>
<td><code>allowoverrides</code></td>
<td>string</td>
<td>no</td>
<td>The AllowOverride options applied to the current request.</td>
</tr>
<tr class="odd">
<td><code>ap_auth_type</code></td>
<td>string</td>
<td>no</td>
<td>If an authentication check was made, this is set to the type
of authentication (f.x. <code>basic</code>)</td>
</tr>
<tr class="odd">
<tr>
<td><code>args</code></td>
<td>string</td>
<td>yes</td>
<td>The query string arguments extracted from the request
(f.x. <code>foo=bar&amp;name=johnsmith</code>)</td>
</tr>
<tr>
<tr class="odd">
<td><code>assbackwards</code></td>
<td>boolean</td>
<td>no</td>
<td>Set to true if this is an HTTP/0.9 style request
(e.g. <code>GET /foo</code> (with no headers) )</td>
</tr>
<tr>
<td><code>auth_name</code></td>
<td>string</td>
<td>no</td>
<td>The realm name used for authorization (if applicable).</td>
</tr>
<tr class="odd">
<td><code>banner</code></td>
<td>string</td>
<td>no</td>
<td>The server banner, f.x. <code>Apache HTTP Server/2.4.3 openssl/0.9.8c</code></td>
</tr>
<tr>
<td><code>basic_auth_pw</code></td>
<td>string</td>
<td>no</td>
<td>The basic auth password sent with this request, if any</td>
</tr>
<tr class="odd">
<td><code>canonical_filename</code></td>
<td>string</td>
@@ -482,6 +506,18 @@ end
<td>no</td>
<td>Whether or not this request is done via HTTPS</td>
</tr>
<tr>
<td><code>is_initial_req</code></td>
<td>boolean</td>
<td>no</td>
<td>Whether this request is the initial request or a sub-request</td>
</tr>
<tr class="odd">
<td><code>limit_req_body</code></td>
<td>number</td>
<td>no</td>
<td>The size limit of the request body for this request, or 0 if no limit.</td>
</tr>
<tr>
<td><code>log_id</code></td>
<td>string</td>
@@ -501,11 +537,23 @@ end
<td>A list of notes that can be passed on from one module to another.</td>
</tr>
<tr class="odd">
<td><code>options</code></td>
<td>string</td>
<td>no</td>
<td>The Options directive applied to the current request.</td>
</tr>
<tr>
<td><code>path_info</code></td>
<td>string</td>
<td>no</td>
<td>The PATH_INFO extracted from this request.</td>
</tr>
<tr class="odd">
<td><code>port</code></td>
<td>number</td>
<td>no</td>
<td>The server port used by the request.</td>
</tr>
<tr>
<td><code>protocol</code></td>
<td>string</td>
@@ -525,6 +573,30 @@ end
<td>no</td>
<td>The contents of the <code>Range:</code> header.</td>
</tr>
<tr class="odd">
<td><code>remaining</code></td>
<td>number</td>
<td>no</td>
<td>The number of bytes remaining to be read from the request body.</td>
</tr>
<tr>
<td><code>server_built</code></td>
<td>string</td>
<td>no</td>
<td>The time the server executable was built.</td>
</tr>
<tr class="odd">
<td><code>server_name</code></td>
<td>string</td>
<td>no</td>
<td>The server name for this request.</td>
</tr>
<tr>
<td><code>some_auth_required</code></td>
<td>boolean</td>
<td>no</td>
<td>Whether some authorization is/was required for this request.</td>
</tr>
<tr class="odd">
<td><code>subprocess_env</code></td>
<td>table</td>
@@ -532,36 +604,42 @@ end
<td>The environment variables set for this request.</td>
</tr>
<tr>
<td><code>started</code></td>
<td>number</td>
<td>no</td>
<td>The time the server was (re)started, in seconds since the epoch (Jan 1st, 1970)</td>
</tr>
<tr class="odd">
<td><code>status</code></td>
<td>number</td>
<td>yes</td>
<td>The (current) HTTP return code for this request, f.x. <code>200</code> or <code>404</code>.</td>
</tr>
<tr class="odd">
<tr>
<td><code>the_request</code></td>
<td>string</td>
<td>no</td>
<td>The request string as sent by the client, f.x. <code>GET /foo/bar HTTP/1.1</code>.</td>
</tr>
<tr>
<tr class="odd">
<td><code>unparsed_uri</code></td>
<td>string</td>
<td>no</td>
<td>The unparsed URI of the request</td>
</tr>
<tr class="odd">
<tr>
<td><code>uri</code></td>
<td>string</td>
<td>yes</td>
<td>The URI after it has been parsed by httpd</td>
</tr>
<tr>
<tr class="odd">
<td><code>user</code></td>
<td>string</td>
<td>yes</td>
<td>If an authentication check has been made, this is set to the name of the authenticated user.</td>
</tr>
<tr class="odd">
<tr>
<td><code>useragent_ip</code></td>
<td>string</td>
<td>no</td>
@@ -571,11 +649,21 @@ end
<p>The request_rec has (at least) the following methods:</p>
<pre class="prettyprint lang-lua">
r:flush() -- flushes the output buffer
</pre>
<pre class="prettyprint lang-lua">
r:addoutputfilter(name|function) -- add an output filter
</pre>
<pre class="prettyprint lang-lua">
r:sendfile(filename) -- sends an entire file to the client, using sendfile if supported by the current platform
</pre>
<pre class="prettyprint lang-lua">
r:parseargs() -- returns a Lua table containing the request's query string arguments
</pre>

View File

@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
<!-- English Revision: 1355934:1369769 (outdated) -->
<!-- English Revision: 1355934:1370158 (outdated) -->
<!-- French translation : Lucien GENTIS -->
<!-- Reviewed by : Vincent Deffontaines -->