# -*- coding: utf-8 -*- # !/usr/bin/env python class CustomWSGIWrapper(object): def __init__(self, app): from patch import patch_requests patch_requests() self.app = app def __call__(self, environ, start_response): return self.app(environ, start_response)