httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: [users@httpd] Why does a form POST generate a redirect (302) with GET?
Date Wed, 12 Dec 2007 18:51:30 GMT
On Wed, 12 Dec 2007 21:32:17 +0300
"CS Imamu" <csimam@gmail.com> wrote:

> The Web server appears to receive the POST request from the browser
> and then sends a redirect (302) response to the browser.

The server won't do that unprompted.  Either your application or
your configuration is sending a redirect.

>  We don't know
> why this is happening. This is causing the browser to either display
> an error

That doesn't make sense.  302 isn't an error.

>   or to send the post request again as a GET request. The GET
> request fails because the browser is putting the form data in the URI,
> making it too big."

That's incredibly broken browser behaviour (unless your application
is sending the whole caboodle in the redirect).  I don't believe any
"normal" browser is that broken.

I infer that your problem description is garbled.

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message