Wow, somehow we got talking about different things without realizing it! I wonder how that happened?
If I'm (finally) understanding you correctly, your case is one where we
are a server and handling a POST request. In my application, I'm
dealing with streaming _downloads_, not streaming _uploads_ (i.e., mine
is client side rather than server side). My code would look something
like this:
consumer = MyConsumer()
http_streaming_download('http://some/big/file', consumer)
Hopefully that makes it clear why it seems like MyConsumer should be a
straightforward class that implements IConsumer. In this case, it's
simply confusing to make the downloader care about HTTP headers, etc.
In your case (processing a POST request), I can understand the need to
look at HTTP headers, etc., so I agree that you would want something
more complicated than a simple consumer.
Is there anything I'm still missing? Thanks!
--
Andrew McNabb
http://www.mcnabbs.org/andrew/
PGP Fingerprint: 8A17 B57C 6879 1863 DE55 8012 AB4D 6098 8826 6868
pgpsxwX1pm8tl.pgp
Description: PGP signature
_______________________________________________ Twisted-web mailing list [email protected] http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
