OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | __init__ (self, user, pw, authurl, *args, **kwargs) |
def | urlopen (self, method, url, body=None, headers=None, retries=3, redirect=True, assert_same_host=True) |
Data Fields | |
authurl | |
rawuser | |
domain | |
user | |
pw | |
Static Public Attributes | |
scheme | |
Implements an NTLM authentication version of an urllib3 connection pool
def __init__ | ( | self, | |
user, | |||
pw, | |||
authurl, | |||
* | args, | ||
** | kwargs | ||
) |
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.
def urlopen | ( | self, | |
method, | |||
url, | |||
body = None , |
|||
headers = None , |
|||
retries = 3 , |
|||
redirect = True , |
|||
assert_same_host = True |
|||
) |
authurl |
domain |
pw |
rawuser |
|
static |
user |