'Logs debugging information about the response if requested.'

def _log_response(self, resp, content):

    if dump_request_response:
        LOGGER.info('--response-start--')
        for (h, v) in six.iteritems(resp):
            LOGGER.info('%s:    %s', h, v)
        if content:
            LOGGER.info(content)
        LOGGER.info('--response-end--')
