|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
|
|
|
Re: Apache::RequestRec typoAll this is in the docs already. I'll find the links at some point for you.
Jonathan Vanasco wrote: > > First off... > >>> > > The get-able part of this method is only available if PerlOptions > +GlobalRequest is in effect or if Apache2->request($new_r) was called > earlier. So instead of setting PerlOptions +GlobalRequest, one can set > the global request from within the handler. > > <<< > > > > Apache2->request($new_r) doesn't exist > > Based on the docs above, i'm guessing this is a typo for > > Apache2::RequestUtil->request($new_r) > > which gives the expected behavior > > > > Second.. > > The description is a bit awkward. > > I'd suggest this > > >>> > > Example of setting the global request from the handler: > > sub handler > { > my $r= shift; > Apache2::RequestUtil->request($r); > my $apr= Apache2::Request->new( $r , DISABLE_UPLOADS=>1 , > POST_MAX=>10_000 ); > <<< > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docs-dev-unsubscribe@... > For additional commands, e-mail: docs-dev-help@... -- ------------------------------------------------------------------------ Philip M. Gollucci (pgollucci@...) 323.219.4708 Consultant / http://p6m7g8.net/Resume/resume.shtml Senior Software Engineer - TicketMaster - http://ticketmaster.com 1024D/A79997FA F357 0FDD 2301 6296 690F 6A47 D55A 7172 A799 97F "It takes a minute to have a crush on someone, an hour to like someone, and a day to love someone, but it takes a lifetime to forget someone..." --------------------------------------------------------------------- To unsubscribe, e-mail: docs-dev-unsubscribe@... For additional commands, e-mail: docs-dev-help@... |
| Free Forum Powered by Nabble | Forum Help |