Back to index

python3.2  3.2.2
Public Member Functions | Private Attributes
test.test_http_cookiejar.FakeResponse Class Reference

List of all members.

Public Member Functions

def __init__
def info

Private Attributes

 _headers
 _url

Detailed Description

Definition at line 205 of file test_http_cookiejar.py.


Constructor & Destructor Documentation

def test.test_http_cookiejar.FakeResponse.__init__ (   self,
  headers = [],
  url = None 
)
headers: list of RFC822-style 'Key: value' strings

Definition at line 206 of file test_http_cookiejar.py.

00206 
00207     def __init__(self, headers=[], url=None):
00208         """
00209         headers: list of RFC822-style 'Key: value' strings
00210         """
00211         import email
00212         self._headers = email.message_from_string("\n".join(headers))
        self._url = url

Here is the caller graph for this function:


Member Function Documentation

Definition at line 213 of file test_http_cookiejar.py.

00213 
00214     def info(self): return self._headers

Here is the caller graph for this function:


Member Data Documentation

Definition at line 211 of file test_http_cookiejar.py.

Definition at line 212 of file test_http_cookiejar.py.


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