perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Perrin Harkins <per...@elem.com>
Subject Re: redirecting a post (or vice versa)
Date Thu, 11 Aug 2005 21:52:38 GMT
On Thu, 2005-08-11 at 21:27 +0200, allan juul wrote:
> so i imagined that people would hit some kind of url that maps to some 
> perl code that could handle the POST.
> its basically the same as a redirect via the location header, where the 
> URL is appended the relevant querystring, except we need a POST method 
> because the data is quite big (and because we want to re-code as little 
> as possible at backend).

You can't redirect a POST.  You can fake it by redirecting to a GET,
although you just said the data is too big, or you can store the data on
the server-side (e.g. in a session) and redirect to a URL with a key to
find the data again (e.g. a session ID).

- Perrin


Mime
View raw message