RE: Peek at POSTed data

2003-06-17 Thread Michael Corcoran
it is meant to work on regular html form name/value pairs. -Original Message- From: William A. Rowe, Jr. [mailto:[EMAIL PROTECTED] Sent: Monday, June 16, 2003 7:06 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: Peek at POSTed data At 06:36 PM 6/16/2003, Michael Corcoran wrote

Peek at POSTed data

2003-06-16 Thread Michael Corcoran
I'm wondering if there is a nice way in Apache 2.0 to peek at the incoming POSTed data without removing the data from the view of other modules? So, for example, in my modules fixup stage I'd like to have a look at the POSTed data, but still be able to let a different module actually handle

Re: Peek at POSTed data

2003-06-16 Thread William A. Rowe, Jr.
You must implement a peek-ahead filter that sets aside the post body. Once someone calls the filter stack later, you simply return your set aside buckets. Several modules do something similar today, either for incomplete data (like charset_lite, which might not have a complete trailing character

Re: Peek at POSTed data

2003-06-16 Thread Justin Erenkrantz
--On Monday, June 16, 2003 3:37 PM -0500 William A. Rowe, Jr. [EMAIL PROTECTED] wrote: You must implement a peek-ahead filter that sets aside the post body. Once someone calls the filter stack later, you simply return your set aside buckets. Several modules do something similar today, either

Re: Peek at POSTed data

2003-06-16 Thread William A. Rowe, Jr.
At 03:58 PM 6/16/2003, Justin Erenkrantz wrote: --On Monday, June 16, 2003 3:37 PM -0500 William A. Rowe, Jr. [EMAIL PROTECTED] wrote: You must implement a peek-ahead filter that sets aside the post body. Once someone calls the filter stack later, you simply return your set aside buckets.

RE: Peek at POSTed data

2003-06-16 Thread Shankar Unni
Justin Erenkrantz wrote: This might be enough of a widespread concern that we need to figure out how to cleanly address this. But, I don't think we have anything in place for that currently. We are also looking at writing a module that can watch the traffic on a webserver and send a copy of

Re: Peek at POSTed data

2003-06-16 Thread Justin Erenkrantz
--On Monday, June 16, 2003 4:17 PM -0500 William A. Rowe, Jr. [EMAIL PROTECTED] wrote: Why do you say that? SSL is a connection level filter that can persist beyond a single request. There is nothing to say that one can't author a pre-handler filter that looks at the post data before someone

RE: Peek at POSTed data

2003-06-16 Thread Michael Corcoran
at POSTed data --On Monday, June 16, 2003 4:17 PM -0500 William A. Rowe, Jr. [EMAIL PROTECTED] wrote: Why do you say that? SSL is a connection level filter that can persist beyond a single request. There is nothing to say that one can't author a pre-handler filter that looks at the post data

RE: Peek at POSTed data

2003-06-16 Thread Justin Erenkrantz
--On Monday, June 16, 2003 4:36 PM -0700 Michael Corcoran [EMAIL PROTECTED] wrote: Would it be possible to (or how would I?) be able to implement a function that would have a prototype similar to ap_reset_post_body(request_rec, void *, int); This function could be called after someone has

RE: Peek at POSTed data

2003-06-16 Thread William A. Rowe, Jr.
At 06:36 PM 6/16/2003, Michael Corcoran wrote: Would it be possible to (or how would I?) be able to implement a function that would have a prototype similar to ap_reset_post_body(request_rec, void *, int); This function could be called after someone has already run through the full