t.w.f.MultipartMimeStream(object) : class documentation

Part of twisted.web2.fileupload View Source View In Hierarchy

Implements interfaces: twisted.web2.stream.IStream

No class docstring
Method __init__ Undocumented
Method read Return a deferred which will fire with a tuple of: (fieldname, filename, ctype, dataStream) or None when all done.
Method _readFirstBoundary Undocumented
Method _readBoundaryLine Undocumented
Method _doReadHeaders Undocumented
Method _gotHeaders Undocumented
def __init__(self, stream, boundary): (source)
Undocumented
def read(self): (source)

Return a deferred which will fire with a tuple of: (fieldname, filename, ctype, dataStream) or None when all done.

Format errors will be sent to the errback.

Returns None when all done.

IMPORTANT: you *must* exhaust dataStream returned by this call before calling .read() again!
def _readFirstBoundary(self): (source)
Undocumented
def _readBoundaryLine(self): (source)
Undocumented
def _doReadHeaders(self, morefields): (source)
Undocumented
def _gotHeaders(self, headers): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:17:34.