From f32258e8f7eb2f4b43a704a003f00c32efbb898c Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Tue, 26 Jun 2012 10:15:11 +1200 Subject: Port pathoc to new netlib API. Add SNI. --- libpathod/pathoc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libpathod/pathoc.py') diff --git a/libpathod/pathoc.py b/libpathod/pathoc.py index 5105decf..7b49d0b1 100644 --- a/libpathod/pathoc.py +++ b/libpathod/pathoc.py @@ -15,9 +15,9 @@ def print_full(fp, httpversion, code, msg, headers, content): class Pathoc(tcp.TCPClient): - def __init__(self, ssl, host, port, clientcert): + def __init__(self, host, port): try: - tcp.TCPClient.__init__(self, ssl, host, port, clientcert) + tcp.TCPClient.__init__(self, host, port) except tcp.NetLibError, v: raise PathocError(v) -- cgit v1.2.3