2010/6/15 Primoz Anzur <[email protected]>:
> Hi!
> I'm trying to stream bigger files via web.py, and something is wrong, but I
> can't put my finger on it... The code is this:

Python doesn't allow you to mix return and yield statements.
And you should use raise web.notfound() not return web.notfound().


[...]
> And P.S.: webpy.org is throwing a 500 error...

Sorry, fixed.

Anand

-- 
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.

Reply via email to