httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: Fix: Apache::TestRequest::redirect_ok
Date Tue, 19 Oct 2004 12:22:38 GMT
David Wheeler wrote:
> On Oct 18, 2004, at 4:52 PM, Boris Zentner wrote:
> 
>> No, in that case I return $RedirectOK. I think that at least the
>>
>>   return 0 if $request->method eq 'POST';
>>
>> line is wrong, since I clearly have no chance to redirect a post request.
> 
> 
> I just left it that way because that the way it was when I started 
> playing with it. It never made sense to me that there would be a 
> difference in redirection between GET and POST requests.
> 
> Ask Doug. ;-)

Is it because you can't really do redirects on real POST requests? The 
body will get lost, isn't it?

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Mime
View raw message