On 2011-07-23 00:59, andrei wrote:
> Martin, web.found should be raised as exception, not returned.
>
> And I would use raise web.seeother for this purpose.
>
> http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3.3

Yes, you're right in both points. Thanks for the correction!

> On Jul 22, 6:30 pm, "W. Martin Borgert" <deba...@debian.org> wrote:
...
> >          pages = dict([('val1',a[0]),('val2',a[1])])
> >          return web.found(
> >              web.ctx.env.get(

Here "return web.found" needs to be replaced with "raise web.seeother".

Cheers


A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to webpy@googlegroups.com.
To unsubscribe from this group, send email to 
webpy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to