def getClientIP(self):
        return self.requestHeaders.getRawHeaders(
            b"x-forwarded-for", [b"-"])[0].split(b",")[0].strip()
Verify that hostFromTransport raises an exception if the transport
dataset/ETHPy150Open matrix-org/synapse/synapse/app/homeserver.py/XForwardedForRequest.getClientIP--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_sslverify.py/Constructors.test_hostFromNonSSLTransport