(self, code='-', size='-')
Log an accepted request.

        This is called by send_response().
Log an accepted request.
Log an accepted request .
def log_request(self, code='-', size='-'):
        """Log an accepted request.

        This is called by send_response().

        """
        if isinstance(code, HTTPStatus):
            code = code.value
        self.log_message('"%s" %s %s',
                         self.requestline, str(code), str(size))
def log_request ( self , code = '-' , size = '-' ) : if isinstance ( code , HTTPStatus ) : code = code . value self . log_message ( '"%s" %s %s' , self . requestline , str ( code ) , str ( size ) )