Re: Apache::Request parameters

Patrick Michael Kane <[email protected]>
Newsgroups gmane.comp.web.mason.devel
Message-ID <[email protected]>
* Jonathan Swartz ([email protected]) [050307 16:38]:
> You can pass in your custom created Apache::Request object to
> $ah->handle_request.

Perfect, thanks.  Find attached a docs patch that spells this out.

Best,
-- 
Patrick Michael Kane
<[email protected]>
handle_request_docs.patch (text/plain, 909 B)
Index: ApacheHandler.pm
===================================================================
RCS file: /cvsroot/mason/mason/dist/lib/HTML/Mason/ApacheHandler.pm,v
retrieving revision 1.319
diff -u -r1.319 ApacheHandler.pm
--- ApacheHandler.pm	21 Jan 2005 19:58:05 -0000	1.319
+++ ApacheHandler.pm	8 Mar 2005 01:02:53 -0000
@@ -1125,9 +1125,12 @@
 
 =item handle_request ($r)
 
-This method takes an Apache object representing a request and
-translates that request into a form Mason can understand.  It's return
-value is an Apache status code.
+This method takes an Apache or Apache::Request object representing a
+request and translates that request into a form Mason can understand.
+It's return value is an Apache status code.
+
+Passing handle_request an Apache::Request object is useful if you want
+to set Apache::Request parameters, such as POST_MAX or DISABLE_UPLOADS.
 
 =item prepare_request ($r)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.