Package googleapiclient :: Module http :: Class HttpMock
[hide private]
[frames] | no frames]

Class HttpMock

source code


Mock of httplib2.Http

Instance Methods [hide private]
 
__init__(self, filename=None, headers=None)
Args:...
source code
 
request(self, uri, method='GET', body=None, headers=None, redirections=1, connection_type=None) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, filename=None, headers=None)
(Constructor)

source code 

Args:
  filename: string, absolute filename to read response from
  headers: dict, header to return with response

Overrides: object.__init__