On Tue, Mar 10, 2009 at 12:01 PM, paul jobs <[email protected]> wrote: > class foo: > def POST(self): > // do something > return web.found("/new_url")
You can also use web.found, but return should be replaced with raise. Looks like "302 Found" and "303 See Other" are used for the same purpose. http://en.wikipedia.org/wiki/HTTP_302 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" 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/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
