On Apr 27, 2011, at 13:34, Roland Hedberg wrote:

> Hi!
> 
> I have a WSDL application built on repoze.who .
> 
> One outcome of the challenge() method is:
> 
> from paste.httpexceptions import HTTPTemporaryRedirect
> 
>       return HTTPTemporaryRedirect(headers=[result])
> 
> where result is a tuple of the form ("location", <redirectURL>)
> 
> I expected this to result in a GET on the redirectURL but instead it does a 
> POST !!
> Why ?
> And can I get it to do what I think is the proper thing namely do a HTTP 
> redirect (307) as a GET ?

Turns out it was solved by simply replacing HTTPTemporaryRedirect with 
HTTPSeeOther !

--Roland

_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to