class documentation

class ACMERequestHandler(WSGIRequestHandler):

View In Hierarchy

ACMERequestHandler is a custom request handler for the ACME CSE HTTP server. It extends the WSGIRequestHandler to provide custom logging.

Method log Log a message with the given type and arguments. This is used to log HTTP requests and responses.
Method log_message Log a message with the given format and arguments. This is used to log HTTP requests and responses.
Method log_request Log an HTTP request with the given code and size. This is used to log HTTP requests and responses.
def log(self, type: str, message: str, *args: Any):

Log a message with the given type and arguments. This is used to log HTTP requests and responses.

Parameters
type:strThe type of the log message (e.g. "request", "response").
message:strThe log message format string.
*args:AnyThe values to interpolate into the message format string.
def log_message(self, format: str, *args: Any):

Log a message with the given format and arguments. This is used to log HTTP requests and responses.

Parameters
format:strThe log message format string.
*args:AnyThe values to interpolate into the message format string.
def log_request(self, code: str | int | None = '-', size: str | int | None = '-'):

Log an HTTP request with the given code and size. This is used to log HTTP requests and responses.

Parameters
code:str | int | NoneThe HTTP status code of the response.
size:str | int | NoneThe size of the response in bytes.