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

Part of bzrlib.tests.http_utils View In Hierarchy

Extend TestingHTTPRequestHandler to support smart client POSTs.

XXX: This duplicates a fair bit of the logic in bzrlib.transport.http.wsgi.

Method do_POST Hand the request off to a smart server instance.
Method do_POST_inner 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 do_GET Serve a GET request.
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 do_POST(self):
Hand the request off to a smart server instance.
def do_POST_inner(self, chrooted_transport):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.