class documentation
class BoundaryIter: (source)
A Producer that is sensitive to boundaries. Will happily yield bytes until a boundary is found. Will yield the bytes before the boundary, throw away the boundary bytes themselves, and push the post-boundary bytes back on the stream. The future calls to next() after locating the boundary will raise a StopIteration exception.
Method | __init__ |
Undocumented |
Method | __iter__ |
Undocumented |
Method | __next__ |
Undocumented |
Method | _find |
Find a multipart boundary in data. |
Instance Variable | _boundary |
Undocumented |
Instance Variable | _done |
Undocumented |
Instance Variable | _rollback |
Undocumented |
Instance Variable | _stream |
Undocumented |