b.t.t.RecordingServer(object) : class documentation

Part of bzrlib.tests.test_http View In Hierarchy

A fake HTTP server.

It records the bytes sent to it, and replies with a 200.

Method __init__ Constructor.
Method get_url Undocumented
Method start_server Undocumented
Method stop_server Undocumented
Method _accept_read_and_reply Undocumented
def __init__(self, expect_body_tail=None, scheme=''):
Constructor.
Parametersexpect_body_taila reply won't be sent until this string is received. (type: str)
def get_url(self):
Undocumented
def start_server(self):
Undocumented
def _accept_read_and_reply(self):
Undocumented
def stop_server(self):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.