Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes | Static Public Attributes
urllib.request.HTTPDefaultErrorHandler Class Reference
Inheritance diagram for urllib.request.HTTPDefaultErrorHandler:
Inheritance graph
[legend]
Collaboration diagram for urllib.request.HTTPDefaultErrorHandler:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def http_error_default
def add_parent
def close
def __lt__

Public Attributes

 parent

Static Public Attributes

int handler_order = 500

Detailed Description

Definition at line 493 of file request.py.


Member Function Documentation

def urllib.request.BaseHandler.__lt__ (   self,
  other 
) [inherited]

Definition at line 467 of file request.py.

00467 
00468     def __lt__(self, other):
00469         if not hasattr(other, "handler_order"):
00470             # Try to preserve the old behavior of having custom classes
00471             # inserted after default ones (works only for custom user
00472             # classes which are not aware of handler_order).
00473             return True
00474         return self.handler_order < other.handler_order
00475 

def urllib.request.BaseHandler.add_parent (   self,
  parent 
) [inherited]

Definition at line 460 of file request.py.

00460 
00461     def add_parent(self, parent):
00462         self.parent = parent

def urllib.request.BaseHandler.close (   self) [inherited]

Definition at line 463 of file request.py.

00463 
00464     def close(self):
00465         # Only exists for backwards compatibility
00466         pass

Here is the caller graph for this function:

def urllib.request.HTTPDefaultErrorHandler.http_error_default (   self,
  req,
  fp,
  code,
  msg,
  hdrs 
)

Definition at line 494 of file request.py.

00494 
00495     def http_error_default(self, req, fp, code, msg, hdrs):
00496         raise HTTPError(req.full_url, code, msg, hdrs, fp)

Here is the caller graph for this function:


Member Data Documentation

int urllib.request.BaseHandler.handler_order = 500 [static, inherited]

Definition at line 461 of file request.py.


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