ó Eu\dc@@s˜dZddlmZddlZddlmZddlmZddlmZddl m Z ej d e ƒee ƒZd efd „ƒYZdS( s NTLM authenticating pool, contributed by erikcederstran Issue #10, see: http://code.google.com/p/urllib3/issues/detail?id=10 i(tabsolute_importN(t getLogger(tntlmi(tHTTPSConnectionPool(tHTTPSConnections#The 'urllib3.contrib.ntlmpool' module is deprecated and will be removed in urllib3 v2.0 release, urllib3 is not able to support it properly due to reasons listed in issue: https://github.com/urllib3/urllib3/issues/2282. If you are a user of this module please comment in the mentioned issue.tNTLMConnectionPoolcB@s>eZdZdZd„Zd„Zdddeed„ZRS(sQ Implements an NTLM authentication version of an urllib3 connection pool thttpscO@sjtt|ƒj||Ž||_||_|jddƒ}|djƒ|_|d|_||_ dS(sÅ authurl is a random URL on the server that is protected by NTLM. user is the Windows user, probably in the DOMAIN\username format. pw is the password for the user. s\iiN( tsuperRt__init__tauthurltrawusertsplittuppertdomaintusertpw(tselfRRR targstkwargst user_parts((sq/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/contrib/ntlmpool.pyR"s   c C@s©|jd7_tjd|j|j|jƒidd6}d}d}td|jd|jƒ}d tj|j ƒ||t __future__RtwarningstloggingRRtRtpackages.six.moves.http_clientRtwarntDeprecationWarningR<RR(((sq/private/var/folders/49/mc35vj0j30g7w0ryjvyy2vz80000gs/T/pip-target-MP7kiJ/lib/python/urllib3/contrib/ntlmpool.pyts