Have a look at Apache2::Debug filter as it does this.
http://search.cpan.org/~pgollucci/Apache2-DebugFilter-0.02/
I'm aware of this. The problem is, that DebugFilter runs in an
InputFilter hook. That works fine, i.e. a POST body can be read more
than once. But, it does not work in PerlAccessHand
Srebrenko Sehic wrote:
I've reimplemented read_post_body as specified below and the problem
*still* persist. I can only read POST body once. I've looked at
libapreq2 code and they implement "apreq_brigade_copy" which (it
seems) takes a copy of the bucket brigade and passes "the original" on
along
Srebrenko Sehic wrote:
I've reimplemented read_post_body as specified below and the problem
*still* persist. I can only read POST body once. I've looked at
libapreq2 code and they implement "apreq_brigade_copy" which (it
seems) takes a copy of the bucket brigade and passes "the original" on
along
I've reimplemented read_post_body as specified below and the problem
*still* persist. I can only read POST body once. I've looked at
libapreq2 code and they implement "apreq_brigade_copy" which (it
seems) takes a copy of the bucket brigade and passes "the original" on
along.
Can something similar
Srebrenko Sehic wrote:
On 6/5/06, Philip M. Gollucci <[EMAIL PROTECTED]> wrote:
> I've defined a PerlAccessHandler which needs access to POST body. I've
> implemented a sub read_post {} which uses bucket brigades API to read
> the body (taken from mod_perl2 docs) and returns the data. However,
On 6/5/06, Philip M. Gollucci <[EMAIL PROTECTED]> wrote:
> I've defined a PerlAccessHandler which needs access to POST body. I've
> implemented a sub read_post {} which uses bucket brigades API to read
> the body (taken from mod_perl2 docs) and returns the data. However,
> the POST body is gone
Srebrenko Sehic wrote:
(I've sent this previously but it didn't get thru somehow; sorry for
the re-post)
I've defined a PerlAccessHandler which needs access to POST body. I've
implemented a sub read_post {} which uses bucket brigades API to read
the body (taken from mod_perl2 docs) and returns t
I've defined a PerlAccessHandler which needs access to POST body. I've
implemented a sub read_post {} which uses bucket brigades API to read
the body (taken from mod_perl2 docs) and returns the data. However,
the POST body is gone after I read it.
Is there any way to read the POST body and pass t
(I've sent this previously but it didn't get thru somehow; sorry for
the re-post)
I've defined a PerlAccessHandler which needs access to POST body. I've
implemented a sub read_post {} which uses bucket brigades API to read
the body (taken from mod_perl2 docs) and returns the data. However,
the PO