Vega strike Python Modules doc  0.5.1
Documentation of the " Modules " folder of Vega strike
 All Data Structures Namespaces Files Functions Variables
HTTPBasicAuthHandler Class Reference
Inheritance diagram for HTTPBasicAuthHandler:
AbstractBasicAuthHandler BaseHandler

Public Member Functions

def http_error_401
 
- Public Member Functions inherited from BaseHandler
def add_parent
 
def close
 

Static Public Attributes

string auth_header = 'Authorization'
 
- Static Public Attributes inherited from AbstractBasicAuthHandler
tuple rx = re.compile('[ \t]*([^ \t]+)[ \t]+realm="([^"]*)
 

Additional Inherited Members

- Data Fields inherited from BaseHandler
 parent
 

Detailed Description

Definition at line 604 of file urllib2.py.

Member Function Documentation

def http_error_401 (   self,
  req,
  fp,
  code,
  msg,
  headers 
)

Definition at line 608 of file urllib2.py.

References AbstractDigestAuthHandler.http_error_auth_reqed(), and urlparse.urlparse().

609  def http_error_401(self, req, fp, code, msg, headers):
610  host = urlparse.urlparse(req.get_full_url())[1]
611  return self.http_error_auth_reqed('www-authenticate',
612  host, req, headers)
613 

Field Documentation

string auth_header = 'Authorization'
static

Definition at line 606 of file urllib2.py.


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