Part of bzrlib.transport.http View In Hierarchy
Method | __init__ | Construct a SmartClientMediumRequest for the medium medium. |
Method | _accept_bytes | Helper for accept_bytes. |
Method | _finished_writing | Helper for finished_writing. |
Method | _read_bytes | See SmartClientMediumRequest._read_bytes. |
Method | _read_line | Helper for SmartClientMediumRequest.read_line. |
Method | _finished_reading | See SmartClientMediumRequest._finished_reading. |
Inherited from SmartClientMediumRequest:
Method | accept_bytes | Accept bytes for inclusion in this request. |
Method | finished_reading | Inform the request that all desired data has been read. |
Method | finished_writing | Finish the writing phase of this request. |
Method | read_bytes | Read bytes from this requests response. |
Method | read_line | Undocumented |
Accept_bytes checks the state of the request to determing if bytes should be accepted. After that it hands off to _accept_bytes to do the actual acceptance.
finished_writing checks the state of the request to determine if finished_writing is allowed, and if it is hands off to _finished_writing to perform the action.
By default this forwards to self._medium._get_line because we are operating on the medium's stream.