PyAuthenNTLM2 icon indicating copy to clipboard operation
PyAuthenNTLM2 copied to clipboard

New option: WebProxyMode

Open oetiker opened this issue 12 years ago • 2 comments

Add support for web proxy requests. To enable this mode, activate the WebProxyMode option:

PythonOption WebProxyMode on

oetiker avatar Jan 08 '13 14:01 oetiker

Hi,

Syntax error

copying build/lib/PyAuthenNTLM2/ntlm_client.py -> /usr/lib/python2.4/site-packages/PyAuthenNTLM2 byte-compiling /usr/lib/python2.4/site-packages/pyntlm.py to pyntlm.pyc File "/usr/lib/python2.4/site-packages/pyntlm.py", line 195 req.err_headers_out.add('Proxy-Authenticate' if proxy_mode else 'WWW-Authenticate', 'NTLM') ^ SyntaxError: invalid syntax

????

aliloubm avatar Apr 02 '13 09:04 aliloubm

the patch uses python 2.6 syntax ...

oetiker avatar Apr 29 '13 12:04 oetiker