def request(self, req_and_resp, opt):
        req, resp = req_and_resp

        # dump info for debugging
        logger.info('request.url: {0}'.format(req.url))
        logger.info('request.header: {0}'.format(req.header))
        logger.info('request.query: {0}'.format(req.query))
        logger.info('request.file: {0}'.format(req.files))
        logger.info('request.schemes: {0}'.format(req.schemes))

        # apply authorizations
        if self.__security:
            self.__security(req) 

        return req, resp
preprocess before performing a request, usually some patching.
dataset/ETHPy150Open mission-liao/pyswagger/pyswagger/core.py/BaseClient.request