Re: Bug? in mod_perl when POST request yields REDIRECT

2000-09-27 Thread Doug MacEachern
On Wed, 6 Sep 2000, Reif Peter wrote: I am using a self written mod_perl module that does proxy requests. It acts as content handler and fetches the requestet documents via LWP::UserAgent. The program works fine but when the request is a POST request and the response is a redirection (301,

Re: Bug? in mod_perl when POST request yields REDIRECT

2000-09-27 Thread Doug MacEachern
take 2 on that patch, this one adds a check so ap_setup_client_block() is only called once. with this part of the fix you can call $r-content multiple times without hanging: my $data = $r-content; $data = $r-content; however, any calls to $r-content after the first will return undef. (unless

Bug? in mod_perl when POST request yields REDIRECT

2000-09-06 Thread Reif Peter
I am using a self written mod_perl module that does proxy requests. It acts as content handler and fetches the requestet documents via LWP::UserAgent. The program works fine but when the request is a POST request and the response is a redirection (301, 302, ...) with a Location: header, no data