From: Daniel Gruno Date: Tue, 7 Aug 2012 10:05:19 +0000 (+0000) Subject: xforms X-Git-Tag: 2.5.0-alpha~6475 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c284a64fe4672374ce623d83b6889feddc9cd90b;p=thirdparty%2Fapache%2Fhttpd.git xforms git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1370159 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_lua.html.en b/docs/manual/mod/mod_lua.html.en index db45c695f62..0ab51bb89c4 100644 --- a/docs/manual/mod/mod_lua.html.en +++ b/docs/manual/mod/mod_lua.html.en @@ -374,26 +374,50 @@ end Description + allowoverrides + string + no + The AllowOverride options applied to the current request. + + ap_auth_type string no If an authentication check was made, this is set to the type of authentication (f.x. basic) - + args string yes The query string arguments extracted from the request (f.x. foo=bar&name=johnsmith) - + assbackwards boolean no Set to true if this is an HTTP/0.9 style request (e.g. GET /foo (with no headers) ) + + auth_name + string + no + The realm name used for authorization (if applicable). + + + banner + string + no + The server banner, f.x. Apache HTTP Server/2.4.3 openssl/0.9.8c + + + basic_auth_pw + string + no + The basic auth password sent with this request, if any + canonical_filename string @@ -482,6 +506,18 @@ end no Whether or not this request is done via HTTPS + + is_initial_req + boolean + no + Whether this request is the initial request or a sub-request + + + limit_req_body + number + no + The size limit of the request body for this request, or 0 if no limit. + log_id string @@ -501,11 +537,23 @@ end A list of notes that can be passed on from one module to another. + options + string + no + The Options directive applied to the current request. + + path_info string no The PATH_INFO extracted from this request. + + port + number + no + The server port used by the request. + protocol string @@ -525,6 +573,30 @@ end no The contents of the Range: header. + + remaining + number + no + The number of bytes remaining to be read from the request body. + + + server_built + string + no + The time the server executable was built. + + + server_name + string + no + The server name for this request. + + + some_auth_required + boolean + no + Whether some authorization is/was required for this request. + subprocess_env table @@ -532,36 +604,42 @@ end The environment variables set for this request. + started + number + no + The time the server was (re)started, in seconds since the epoch (Jan 1st, 1970) + + status number yes The (current) HTTP return code for this request, f.x. 200 or 404. - + the_request string no The request string as sent by the client, f.x. GET /foo/bar HTTP/1.1. - + unparsed_uri string no The unparsed URI of the request - + uri string yes The URI after it has been parsed by httpd - + user string yes If an authentication check has been made, this is set to the name of the authenticated user. - + useragent_ip string no @@ -571,11 +649,21 @@ end

The request_rec has (at least) the following methods:

+
+        r:flush() -- flushes the output buffer
+        
+ +
         r:addoutputfilter(name|function) -- add an output filter
         
+
+        r:sendfile(filename) -- sends an entire file to the client, using sendfile if supported by the current platform
+        
+ +
         r:parseargs() -- returns a Lua table containing the request's query string arguments
         
diff --git a/docs/manual/mod/mod_lua.xml.fr b/docs/manual/mod/mod_lua.xml.fr index b41cfdb62d1..e60b2e3e2c4 100644 --- a/docs/manual/mod/mod_lua.xml.fr +++ b/docs/manual/mod/mod_lua.xml.fr @@ -1,7 +1,7 @@ - +