[Twisted-Python] Streaming HTTP

Glyph Lefkowitz glyph at twistedmatrix.com
Mon Nov 16 17:44:01 MST 2015


> On Nov 16, 2015, at 8:03 AM, Michael Schlenker <msc at contact.de> wrote:
> 
> One topic: What should happen if the sender sends malformed data (e.g.
> content-length: 100 and sending 200 bytes body). I would usually want to
> know if the sender is broken instead of getting a responseComplete()
> that claims everything is fine.

This should definitely be an error.  While this isn't totally irrelevant to the design of the new server API - the implementation should surely take this kind of error-checking into account, and the old one didn't so well - it's a bit of a distraction since it's not an essential difference.

-glyph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20151116/df6be765/attachment-0002.html>


More information about the Twisted-Python mailing list