Anand, I'm not sure what you're suggesting. I did you web.seeother but it does not work correctly in Firefox. Firefox will attempt to re-post the form.
Steps to repeat: 1. Create a page with form on it. 2. Post with the form, process it and the redirect using web.seeother 3. Now with the new page simply refresh the browser (Firefox) and you will get a warning about re-posting the variables. What I'm suggesting is a change to the API to make it work as expected (as expected by anyone whose used another web framework that is). On Dec 15, 9:07 pm, Anand Chitipothu <[EMAIL PROTECTED]> wrote: > On 16-Dec-07, at 8:01 AM, pragmatic wrote: > > > > > Just curious about redirect defaulting to 301. Wouldn't 302 be more > > appropriate? Almost every time I need a redirect it's after a POST. > > Asp and asp.net use 302 as does Ruby on Rails. 301 indicates a > > permanent move and I'm wondering how often you need to do a permanent > > redirect in code versus a 302 redirect after a POST. > > use web.seeother. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
