Return-Path: Delivered-To: apmail-httpd-test-dev-archive@www.apache.org Received: (qmail 38903 invoked from network); 19 Oct 2004 12:24:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 19 Oct 2004 12:24:15 -0000 Received: (qmail 86719 invoked by uid 500); 19 Oct 2004 12:22:50 -0000 Delivered-To: apmail-httpd-test-dev-archive@httpd.apache.org Received: (qmail 86553 invoked by uid 500); 19 Oct 2004 12:22:47 -0000 Mailing-List: contact test-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: test-dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list test-dev@httpd.apache.org Received: (qmail 86456 invoked by uid 99); 19 Oct 2004 12:22:44 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [195.80.154.36] (HELO mail.logilune.com) (195.80.154.36) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 19 Oct 2004 05:22:44 -0700 Received: from [127.0.0.1] (localhost.logilune.com [127.0.0.1]) by mail.logilune.com (Postfix) with ESMTP id 6F8E81E1D3B for ; Tue, 19 Oct 2004 14:22:40 +0200 (CEST) Message-ID: <4175070E.6090808@stason.org> Date: Tue, 19 Oct 2004 08:22:38 -0400 From: Stas Bekman Organization: Hope, Humanized User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040804 X-Accept-Language: en-us, en, he, ru MIME-Version: 1.0 To: test-dev@httpd.apache.org Subject: Re: Fix: Apache::TestRequest::redirect_ok References: <41744DD7.6000509@stason.org> <200410190152.28723.bzm@2bz.de> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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