OpenQuizz
Une application de gestion des contenus pédagogiques
NTLMConnectionPool Class Reference
Inheritance diagram for NTLMConnectionPool:
Collaboration diagram for NTLMConnectionPool:

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
 

Detailed Description

Implements an NTLM authentication version of an urllib3 connection pool

Constructor & Destructor Documentation

◆ __init__()

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.

Member Function Documentation

◆ urlopen()

def urlopen (   self,
  method,
  url,
  body = None,
  headers = None,
  retries = 3,
  redirect = True,
  assert_same_host = True 
)

Field Documentation

◆ authurl

authurl

◆ domain

domain

◆ pw

pw

◆ rawuser

rawuser

◆ scheme

scheme
static

◆ user

user

The documentation for this class was generated from the following file: