On Fri, 10 Jun 2011 10:19:08 +0200, Cornelius Kölbel wrote:

> from within a controller I need to do a redirect to another controller,
> but as a post request. hm, what did I miss?

[ ... ]

> Looking and trying to understand the code in
> /usr/share/pyshared/pylons/controllers/util.py it seems to me, that this
> is not possible at all?

Most web browsers won't do this; it's a possible security risk.  Some web 
browsers will respect an HTTP 307 (Temporary Redirect) response.

See http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html and the 
definitions of the 3XX series response codes.

HTH,
Dan

-- 
Dan Sommers                                   A death spiral goes clock-
<http://www.tombstonezero.net/dan/>           wise north of the equator.
Atoms are not things. -- Werner Heisenberg              -- Dilbert's PHB

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to