2009/7/17 Cad <f...@nabuma.com>:
>
> I tried this:
> http://webpy.org/cookbook/streaming_large_files
> and it does work, but it just doesn't feel right.  It works in firefox
> (loading the main page takes forever), but not in chrome (it loads it
> and then displays it all at once).
>
[...]
>
> It's sending transfer-encoding twice?  I tried not setting the header
> in the code and it, oddly enough, still set transfer-encoding as
> chunked.  It didn't work even then though...  Am I missing something?

I don't think you need to set transfer-encoding header. The WSGI
server will take care of adding it if required.

I have noticed something similar happening when there an exception was
raised in the iterator. Can you make sure that is not the case with
you. try looking at the output of curl and see if it is giving all
that is expected.

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