On Sat, 27 Dec 2008, Mark Hedges wrote: > Hi, I'm trying to figure out how to preserve the request > body across an OpenID login redirect cycle. > ... > But when they come back from the OpenID server, how do I put > the saved request body or post params into the new request?
Aha, I didn't quite get that request input filters run after all the pre-response handlers to filter anything read by the PerlResponseHandler. So I assume my PerlHeaderParserHandler can install a PerlInputFilterHandler which will replace the request bucket brigades with new ones that contain the contents of the preserved request body. Does it matter that my pre-response handler created an instance of Apache2::Request to deal with the OpenID params? I will try this. THanks for tips etc. if you have time. On another note, is there any way to do a proper Authen handler with an in-line login form, instead of popping up a klunky browser authentication prompt? Mark