human
I wrote the below code

    class HTTPConnectionDecorator(object, ):
        'Wraps    the    real    HTTPConnection    class    so    that    when    you    instantiate\n                                the    class    you    might    instead    get    a    fake    instance.'
        def __init__(self, wrapped):
            self.wrapped = wrapped
        def __call__(self, connection_host, *args, **kwargs):
            if (connection_host == host):
                return FakeHttplibConnection(app, host)
            else:
                return self.wrapped(connection_host, *args, **kwargs)
    oldHTTPConnection = httplib.HTTPConnection
    httplib.HTTPConnection = HTTPConnectionDecorator(httplib.HTTPConnection)
    return oldHTTPConnection

What's a good function header?
assistant
#Here's a good function header.

def wire_HTTPConnection_to_WSGI(host, app):