Part of twisted.web2.fileupload View Source View In Hierarchy
Implements interfaces: twisted.web2.stream.IStream
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 |
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!