diff options
Diffstat (limited to 'test/test_protocol_http.py')
-rw-r--r-- | test/test_protocol_http.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_protocol_http.py b/test/test_protocol_http.py index 451b7b5d..3b922c06 100644 --- a/test/test_protocol_http.py +++ b/test/test_protocol_http.py @@ -141,6 +141,12 @@ class TestProxyChainingSSL(tservers.HTTPChainProxyTest): finally: self.chain[0].tmaster.handle_request = _handle_request + def test_sni(self): + p = self.pathoc(sni="foo.com") + req = p.request("get:'/p/418:b\"content\"'") + assert req.content == "content" + assert req.status_code == 418 + class TestProxyChainingSSLReconnect(tservers.HTTPChainProxyTest): ssl = True |