b.t.h.AuthRequestHandler(http_server.TestingHTTPRequestHandler) : class documentation

Part of bzrlib.tests.http_utils View In Hierarchy

Known subclasses: bzrlib.tests.http_utils.BasicAuthRequestHandler, bzrlib.tests.http_utils.DigestAuthRequestHandler

Requires an authentication to process requests.

This is intended to be used with a server that always and only use one authentication scheme (implemented by daughter classes).

Method do_GET Serve a GET request.
Method do_HEAD Undocumented
Method _require_authentication Undocumented

Inherited from TestingHTTPRequestHandler:

Method setup Undocumented
Method log_message Undocumented
Method handle Undocumented
Method handle_one_request Handle a single HTTP request.
Method send_error Send and log an error reply.
Method send_head Overrides base implementation to work around a bug in python2.5.
Method send_range_content Undocumented
Method get_single_range Undocumented
Method get_multiple_ranges Undocumented
Method translate_path Translate a /-separated PATH to the local filename syntax.
Method _handle_one_request Undocumented
Method _parse_ranges Parse the range header value and returns ranges.
Method _header_line_length Undocumented
Method _translate_path Translate a /-separated PATH to the local filename syntax.
def _require_authentication(self):
Undocumented
def do_GET(self):
Serve a GET request.

Handles the Range header.

def do_HEAD(self):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2019-10-20 00:34:54.