I've seen the same thing in other web frameworks, so I'm guessing that it's a general web thing rather than something Pyramid-specific. Does it have to do with the displayed URL?
Thanks,
Mark
--
You received this message because you are subscribed to the Google Groups "pylons-discuss" group.
To post to this group, send email to pylons-...@googlegroups.com.
To unsubscribe from this group, send email to pylons-discus...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
This is my understanding of the reasoning as well.
- C
>
> Thanks,
> Eric
>
>
>
> On Tue, Nov 22, 2011 at 6:57 PM, Mark Erbaugh <ma...@microenh.com>
> wrote:
> In many of the Pyramid examples, that I've seen, the view
> callable will return a HTTP Redirect to send the user to a
> different page. Why doesn't the view callable just render and
> return that page directly? I just tried some test code and at
> least for my simplistic test, it seems to work.
>
> I've seen the same thing in other web frameworks, so I'm
> guessing that it's a general web thing rather than something
> Pyramid-specific. Does it have to do with the displayed URL?
>
>
> Thanks,
> Mark
>
> --
> You received this message because you are subscribed to the
> Google Groups "pylons-discuss" group.
> To post to this group, send email to
> pylons-...@googlegroups.com.
> To unsubscribe from this group, send email to pylons-discuss
> +unsub...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/pylons-discuss?hl=en.
>
>
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "pylons-discuss" group.
> To post to this group, send email to pylons-...@googlegroups.com.
> To unsubscribe from this group, send email to pylons-discuss
> +unsub...@googlegroups.com.
It's also known as the PRG pattern:
http://en.wikipedia.org/wiki/Post/Redirect/Get
-- Christoph