Hi,

On Apr 4, 5:08 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I see that the default redirect status code is now 302.  If a user
> submits a form, it is common to "do something" and then redirect the
> user.  The proper status code for that situation is 303 See Other 
> (seehttp://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html).  In some
> frameworks, since this is such a common case, they'll have a function
> like redirect_see_other.
>
> I don't see any mention of this issue in the tutorial.  At the very
> least, it might be a good idea to show an example of passing the right
> status code in the tutorial.
Actually 302 is a stupid default.  I fixed that for the routing
already and I should do the same for the redirect function.  I don't
think changing 302 to 303 should cause any breakage for existing
applications as most users don't care what status code they're
sending.  I'll check that first though and will change the default for
0.3 then.

Regards,
Armin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" 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/pocoo-libs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to