Part of twisted.web2.wsgi View Source View In Hierarchy
Method | __init__ | Undocumented |
Method | read | Read at most size bytes from the input, or less if EOF is |
Method | readline | Read a line, delimited by a newline. If the stream reaches EOF |
Method | readlines | Read until EOF, collecting all lines in a list, and returns |
Method | __iter__ | Returns an iterator, each iteration of which returns the |
COMPATIBILITY NOTE: the size argument is excluded from the WSGI specification, but is provided here anyhow, because useful libraries such as python stdlib's cgi.py assume their input file-like-object supports readline with a size argument. If you use it, be aware your application may not be portable to other conformant WSGI servers.