aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/protocol/tls.py
diff options
context:
space:
mode:
Diffstat (limited to 'mitmproxy/protocol/tls.py')
-rw-r--r--mitmproxy/protocol/tls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mitmproxy/protocol/tls.py b/mitmproxy/protocol/tls.py
index 943fe837..4792edb8 100644
--- a/mitmproxy/protocol/tls.py
+++ b/mitmproxy/protocol/tls.py
@@ -407,7 +407,7 @@ class TlsLayer(base.Layer):
self._establish_tls_with_server()
def set_server_tls(self, server_tls, sni=None):
- # type: (bool, Union[six.text_type, None, False]) -> None
+ # type: (bool, Union[str, None, False]) -> None
"""
Set the TLS settings for the next server connection that will be established.
This function will not alter an existing connection.