
21 Jul
2008
21 Jul
'08
3:48 p.m.
Hello,
I use python twisted web to do a simple web service that serves some streams. I process client requests in RequestHandler inherited from http.Request, exactly as described in most of examples.
My webservice has to be able to receive file streams. For example, if I post a file at the uri /toto, a user can get this stream at the same uri. The stream has not to be bufferized, it's sent if someone reads it or not.
When I read http.Request methods, I can see that POST data are stored in a simple dict. And in my case, the server will grow up in memory. So my question is: Is there an official way to handle streams in twisted.web or must I use twisted.web2 ?
Thanks.
--
Samuel Alba
5541
Age (days ago)
5541
Last active (days ago)
0 comments
1 participants
participants (1)
-
shad