Geoffrey Young wrote: > > Jan Algermissen wrote: > > Hi, > > > > I want to write a Perl handler that pokes into the content > > of a request in order to see if a certain parameter is present and > > if so to change the request method. > > > > Ok, I am finally aware that content() may onle be called once on > > a request object so any further handlers won't be able to see the > > original content. > > > > Is there a way to restore that data after calling content() or read()? > > see Apache::Request->instance()
Geoffrey-- thanks. I tried that but am I right in suspecting that subsequent handlers also need to work with Apache::Request? IOW: is there a way to use Apache::Request and later use the notrmal $r->content() call? I want to impose abslolutely no constraint on subsequent handlers (as they might not even be related to my application). Jan > > HTH > > --Geoff -- Jan Algermissen http://www.topicmapping.com Consultant & Programmer http://www.gooseworks.org -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html