#NEWLINE# def response( self , conn , status , headers , is_client = True ) : #NEWLINE# #INDENT# 'Logs an HTTP response.\n\n        :param conn: The same object should be passed in this parameter to both\n                     this method and to its corresponding :meth:`.request`.\n                     There are no constraints on its type or value.\n        :type conn: :py:class:`object`\n        :param status: The status string of the response, e.g. ``200 OK``.\n        :param headers: A list of ``(name, value)`` header tuples given in the\n                        response.\n        :param is_client: Whether or not the log line should be identified as a\n                          client- or server-side request.\n        :type is_client: :py:class:`bool`\n\n        ' #NEWLINE# type = ( 'client_response' if is_client else 'server_response' ) #NEWLINE# self . log ( id ( conn ) , type , status = status , headers = headers )