generic_proxy.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:localstack 作者: localstack 项目源码 文件源码
def return_response(self, method, path, data, headers, response):
        """ This interceptor method is called by the proxy when returning a response
            (*after* having forwarded the request and received a response from the backend
            service). It receives details of the incoming request as well as the response
            from the backend service, and returns either of the following results:

            * An instance of requests.models.Response to return to the client instead of the
              actual response returned from the backend service.
            * Any other value, in which case the response from the backend service is
              returned to the client.
        """
        return None
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号