On Friday, April 12, 2019 at 7:41:43 PM UTC-4, João Matos wrote:
>
> So no option for redirect with POST. That is a shame.
>

That's just how browsers work. A redirect is simply a response sent to the 
browser with a 303 HTTP code and a new URL location -- the browser then 
requests the new URL. You could handle this via Javascript and Ajax, but 
there may be a simpler option, depending on your goal.
 

> The book mentions request.post_vars. In what situation would one use it?
>

When a post request comes in, the post data are stored in 
request.post_vars, allowing you code to access the data. FORM and SQLFORM, 
for example, read data from request.post_vars.

Anthony

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to