(self)
Send the auth header
Send the auth header
Send the auth header
def send_auth_headers(self):
        """Send the auth header"""
        self.send_response(401)
        self.send_header('WWW-Authenticate', 'Basic realm=\"Security Realm\"')
        self.send_header('Content-type', 'text/html')
        self.end_headers()
def send_auth_headers ( self ) : self . send_response ( 401 ) self . send_header ( 'WWW-Authenticate' , 'Basic realm=\"Security Realm\"' ) self . send_header ( 'Content-type' , 'text/html' ) self . end_headers ( )