blob: e02bd394bbe1621c5255d3e9a0a98dc1d8aeb8fa [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: package httplib2</title>
</head><body bgcolor="#f0f0f8">
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>httplib2</strong></big></big> (version 0.7.0)</font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/usr/local/google/home/jcgregorio/projects/apiclient/httplib2/__init__.py">/usr/local/google/home/jcgregorio/projects/apiclient/httplib2/__init__.py</a></font></td></tr></table>
<p></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Package Contents</strong></big></font></td></tr>
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="httplib2.iri2uri.html">iri2uri</a><br>
</td><td width="25%" valign=top><a href="httplib2.socks.html">socks</a><br>
</td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="__builtin__.html#dict">__builtin__.dict</a>(<a href="__builtin__.html#object">__builtin__.object</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="httplib2.html#Response">Response</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="httplib2.html#Http">Http</a>
</font></dt><dt><font face="helvetica, arial"><a href="httplib2.html#ProxyInfo">ProxyInfo</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="exceptions.html#Exception">exceptions.Exception</a>(<a href="exceptions.html#BaseException">exceptions.BaseException</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="httplib2.html#HttpLib2Error">HttpLib2Error</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="httplib2.html#ProxiesUnavailableError">ProxiesUnavailableError</a>
</font></dt></dl>
</dd>
</dl>
</dd>
<dt><font face="helvetica, arial"><a href="httplib2.html#HttpLib2ErrorWithResponse">HttpLib2ErrorWithResponse</a>(<a href="httplib2.html#HttpLib2Error">HttpLib2Error</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="httplib2.html#FailedToDecompressContent">FailedToDecompressContent</a>
</font></dt><dt><font face="helvetica, arial"><a href="httplib2.html#RedirectLimit">RedirectLimit</a>
</font></dt><dt><font face="helvetica, arial"><a href="httplib2.html#RedirectMissingLocation">RedirectMissingLocation</a>
</font></dt><dt><font face="helvetica, arial"><a href="httplib2.html#UnimplementedDigestAuthOptionError">UnimplementedDigestAuthOptionError</a>
</font></dt><dt><font face="helvetica, arial"><a href="httplib2.html#UnimplementedHmacDigestAuthOptionError">UnimplementedHmacDigestAuthOptionError</a>
</font></dt></dl>
</dd>
</dl>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="FailedToDecompressContent">class <strong>FailedToDecompressContent</strong></a>(<a href="httplib2.html#HttpLib2ErrorWithResponse">HttpLib2ErrorWithResponse</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="httplib2.html#FailedToDecompressContent">FailedToDecompressContent</a></dd>
<dd><a href="httplib2.html#HttpLib2ErrorWithResponse">HttpLib2ErrorWithResponse</a></dd>
<dd><a href="httplib2.html#HttpLib2Error">HttpLib2Error</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods inherited from <a href="httplib2.html#HttpLib2ErrorWithResponse">HttpLib2ErrorWithResponse</a>:<br>
<dl><dt><a name="FailedToDecompressContent-__init__"><strong>__init__</strong></a>(self, desc, response, content)</dt></dl>
<hr>
Data descriptors inherited from <a href="httplib2.html#HttpLib2Error">HttpLib2Error</a>:<br>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#FailedToDecompressContent-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>
<hr>
Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><a name="FailedToDecompressContent-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#FailedToDecompressContent-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="FailedToDecompressContent-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#FailedToDecompressContent-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="FailedToDecompressContent-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#FailedToDecompressContent-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>
<dl><dt><a name="FailedToDecompressContent-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#FailedToDecompressContent-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
&nbsp;<br>
Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>
<dl><dt><a name="FailedToDecompressContent-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>
<dl><dt><a name="FailedToDecompressContent-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#FailedToDecompressContent-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>
<dl><dt><a name="FailedToDecompressContent-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#FailedToDecompressContent-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>
<dl><dt><a name="FailedToDecompressContent-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>
<dl><dt><a name="FailedToDecompressContent-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#FailedToDecompressContent-__str__">__str__</a>()&nbsp;&lt;==&gt;&nbsp;str(x)</tt></dd></dl>
<dl><dt><a name="FailedToDecompressContent-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>
<hr>
Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
</dl>
<dl><dt><strong>args</strong></dt>
</dl>
<dl><dt><strong>message</strong></dt>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Http">class <strong>Http</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>An&nbsp;HTTP&nbsp;client&nbsp;that&nbsp;handles:<br>
-&nbsp;all&nbsp;methods<br>
-&nbsp;caching<br>
-&nbsp;ETags<br>
-&nbsp;compression,<br>
-&nbsp;HTTPS<br>
-&nbsp;Basic<br>
-&nbsp;Digest<br>
-&nbsp;WSSE<br>
&nbsp;<br>
and&nbsp;more.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="Http-__init__"><strong>__init__</strong></a>(self, cache<font color="#909090">=None</font>, timeout<font color="#909090">=None</font>, proxy_info<font color="#909090">=None</font>, ca_certs<font color="#909090">=None</font>, disable_ssl_certificate_validation<font color="#909090">=False</font>)</dt><dd><tt>The&nbsp;value&nbsp;of&nbsp;proxy_info&nbsp;is&nbsp;a&nbsp;<a href="#ProxyInfo">ProxyInfo</a>&nbsp;instance.<br>
&nbsp;<br>
If&nbsp;'cache'&nbsp;is&nbsp;a&nbsp;string&nbsp;then&nbsp;it&nbsp;is&nbsp;used&nbsp;as&nbsp;a&nbsp;directory&nbsp;name&nbsp;for<br>
a&nbsp;disk&nbsp;cache.&nbsp;Otherwise&nbsp;it&nbsp;must&nbsp;be&nbsp;an&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;that&nbsp;supports&nbsp;the<br>
same&nbsp;interface&nbsp;as&nbsp;FileCache.<br>
&nbsp;<br>
All&nbsp;timeouts&nbsp;are&nbsp;in&nbsp;seconds.&nbsp;If&nbsp;None&nbsp;is&nbsp;passed&nbsp;for&nbsp;timeout<br>
then&nbsp;Python's&nbsp;default&nbsp;timeout&nbsp;for&nbsp;sockets&nbsp;will&nbsp;be&nbsp;used.&nbsp;See<br>
for&nbsp;example&nbsp;the&nbsp;docs&nbsp;of&nbsp;socket.setdefaulttimeout():<br>
<a href="http://docs.python.org/library/socket.html#socket.setdefaulttimeout">http://docs.python.org/library/socket.html#socket.setdefaulttimeout</a><br>
&nbsp;<br>
ca_certs&nbsp;is&nbsp;the&nbsp;path&nbsp;of&nbsp;a&nbsp;file&nbsp;containing&nbsp;root&nbsp;CA&nbsp;certificates&nbsp;for&nbsp;SSL<br>
server&nbsp;certificate&nbsp;validation.&nbsp;&nbsp;By&nbsp;default,&nbsp;a&nbsp;CA&nbsp;cert&nbsp;file&nbsp;bundled&nbsp;with<br>
httplib2&nbsp;is&nbsp;used.<br>
&nbsp;<br>
If&nbsp;disable_ssl_certificate_validation&nbsp;is&nbsp;true,&nbsp;SSL&nbsp;cert&nbsp;validation&nbsp;will<br>
not&nbsp;be&nbsp;performed.</tt></dd></dl>
<dl><dt><a name="Http-add_certificate"><strong>add_certificate</strong></a>(self, key, cert, domain)</dt><dd><tt>Add&nbsp;a&nbsp;key&nbsp;and&nbsp;cert&nbsp;that&nbsp;will&nbsp;be&nbsp;used<br>
any&nbsp;time&nbsp;a&nbsp;request&nbsp;requires&nbsp;authentication.</tt></dd></dl>
<dl><dt><a name="Http-add_credentials"><strong>add_credentials</strong></a>(self, name, password, domain<font color="#909090">=''</font>)</dt><dd><tt>Add&nbsp;a&nbsp;name&nbsp;and&nbsp;password&nbsp;that&nbsp;will&nbsp;be&nbsp;used<br>
any&nbsp;time&nbsp;a&nbsp;request&nbsp;requires&nbsp;authentication.</tt></dd></dl>
<dl><dt><a name="Http-clear_credentials"><strong>clear_credentials</strong></a>(self)</dt><dd><tt>Remove&nbsp;all&nbsp;the&nbsp;names&nbsp;and&nbsp;passwords<br>
that&nbsp;are&nbsp;used&nbsp;for&nbsp;authentication</tt></dd></dl>
<dl><dt><a name="Http-request"><strong>request</strong></a>(self, uri, method<font color="#909090">='GET'</font>, body<font color="#909090">=None</font>, headers<font color="#909090">=None</font>, redirections<font color="#909090">=5</font>, connection_type<font color="#909090">=None</font>)</dt><dd><tt>Performs&nbsp;a&nbsp;single&nbsp;HTTP&nbsp;request.<br>
The&nbsp;'uri'&nbsp;is&nbsp;the&nbsp;URI&nbsp;of&nbsp;the&nbsp;HTTP&nbsp;resource&nbsp;and&nbsp;can&nbsp;begin<br>
with&nbsp;either&nbsp;'http'&nbsp;or&nbsp;'https'.&nbsp;The&nbsp;value&nbsp;of&nbsp;'uri'&nbsp;must&nbsp;be&nbsp;an&nbsp;absolute&nbsp;URI.<br>
&nbsp;<br>
The&nbsp;'method'&nbsp;is&nbsp;the&nbsp;HTTP&nbsp;method&nbsp;to&nbsp;perform,&nbsp;such&nbsp;as&nbsp;GET,&nbsp;POST,&nbsp;DELETE,&nbsp;etc.<br>
There&nbsp;is&nbsp;no&nbsp;restriction&nbsp;on&nbsp;the&nbsp;methods&nbsp;allowed.<br>
&nbsp;<br>
The&nbsp;'body'&nbsp;is&nbsp;the&nbsp;entity&nbsp;body&nbsp;to&nbsp;be&nbsp;sent&nbsp;with&nbsp;the&nbsp;request.&nbsp;It&nbsp;is&nbsp;a&nbsp;string<br>
<a href="__builtin__.html#object">object</a>.<br>
&nbsp;<br>
Any&nbsp;extra&nbsp;headers&nbsp;that&nbsp;are&nbsp;to&nbsp;be&nbsp;sent&nbsp;with&nbsp;the&nbsp;request&nbsp;should&nbsp;be&nbsp;provided&nbsp;in&nbsp;the<br>
'headers'&nbsp;dictionary.<br>
&nbsp;<br>
The&nbsp;maximum&nbsp;number&nbsp;of&nbsp;redirect&nbsp;to&nbsp;follow&nbsp;before&nbsp;raising&nbsp;an<br>
exception&nbsp;is&nbsp;'redirections.&nbsp;The&nbsp;default&nbsp;is&nbsp;5.<br>
&nbsp;<br>
The&nbsp;return&nbsp;value&nbsp;is&nbsp;a&nbsp;tuple&nbsp;of&nbsp;(response,&nbsp;content),&nbsp;the&nbsp;first<br>
being&nbsp;and&nbsp;instance&nbsp;of&nbsp;the&nbsp;'<a href="#Response">Response</a>'&nbsp;class,&nbsp;the&nbsp;second&nbsp;being<br>
a&nbsp;string&nbsp;that&nbsp;contains&nbsp;the&nbsp;response&nbsp;entity&nbsp;body.</tt></dd></dl>
<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="HttpLib2Error">class <strong>HttpLib2Error</strong></a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>#&nbsp;All&nbsp;exceptions&nbsp;raised&nbsp;here&nbsp;derive&nbsp;from&nbsp;<a href="#HttpLib2Error">HttpLib2Error</a><br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="httplib2.html#HttpLib2Error">HttpLib2Error</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><a name="HttpLib2Error-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#HttpLib2Error-__init__">__init__</a>(...)&nbsp;initializes&nbsp;x;&nbsp;see&nbsp;x.__class__.__doc__&nbsp;for&nbsp;signature</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#HttpLib2Error-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>
<hr>
Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><a name="HttpLib2Error-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#HttpLib2Error-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="HttpLib2Error-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#HttpLib2Error-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="HttpLib2Error-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#HttpLib2Error-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>
<dl><dt><a name="HttpLib2Error-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#HttpLib2Error-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
&nbsp;<br>
Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>
<dl><dt><a name="HttpLib2Error-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>
<dl><dt><a name="HttpLib2Error-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#HttpLib2Error-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>
<dl><dt><a name="HttpLib2Error-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#HttpLib2Error-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>
<dl><dt><a name="HttpLib2Error-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>
<dl><dt><a name="HttpLib2Error-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#HttpLib2Error-__str__">__str__</a>()&nbsp;&lt;==&gt;&nbsp;str(x)</tt></dd></dl>
<dl><dt><a name="HttpLib2Error-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>
<hr>
Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
</dl>
<dl><dt><strong>args</strong></dt>
</dl>
<dl><dt><strong>message</strong></dt>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="ProxiesUnavailableError">class <strong>ProxiesUnavailableError</strong></a>(<a href="httplib2.html#HttpLib2Error">HttpLib2Error</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="httplib2.html#ProxiesUnavailableError">ProxiesUnavailableError</a></dd>
<dd><a href="httplib2.html#HttpLib2Error">HttpLib2Error</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Data descriptors inherited from <a href="httplib2.html#HttpLib2Error">HttpLib2Error</a>:<br>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><a name="ProxiesUnavailableError-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#ProxiesUnavailableError-__init__">__init__</a>(...)&nbsp;initializes&nbsp;x;&nbsp;see&nbsp;x.__class__.__doc__&nbsp;for&nbsp;signature</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#ProxiesUnavailableError-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>
<hr>
Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><a name="ProxiesUnavailableError-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#ProxiesUnavailableError-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="ProxiesUnavailableError-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#ProxiesUnavailableError-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="ProxiesUnavailableError-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#ProxiesUnavailableError-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>
<dl><dt><a name="ProxiesUnavailableError-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#ProxiesUnavailableError-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
&nbsp;<br>
Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>
<dl><dt><a name="ProxiesUnavailableError-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>
<dl><dt><a name="ProxiesUnavailableError-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#ProxiesUnavailableError-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>
<dl><dt><a name="ProxiesUnavailableError-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#ProxiesUnavailableError-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>
<dl><dt><a name="ProxiesUnavailableError-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>
<dl><dt><a name="ProxiesUnavailableError-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#ProxiesUnavailableError-__str__">__str__</a>()&nbsp;&lt;==&gt;&nbsp;str(x)</tt></dd></dl>
<dl><dt><a name="ProxiesUnavailableError-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>
<hr>
Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
</dl>
<dl><dt><strong>args</strong></dt>
</dl>
<dl><dt><strong>message</strong></dt>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="ProxyInfo">class <strong>ProxyInfo</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Collect&nbsp;information&nbsp;required&nbsp;to&nbsp;use&nbsp;a&nbsp;proxy.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="ProxyInfo-__init__"><strong>__init__</strong></a>(self, proxy_type, proxy_host, proxy_port, proxy_rdns<font color="#909090">=None</font>, proxy_user<font color="#909090">=None</font>, proxy_pass<font color="#909090">=None</font>)</dt><dd><tt>The&nbsp;parameter&nbsp;proxy_type&nbsp;must&nbsp;be&nbsp;set&nbsp;to&nbsp;one&nbsp;of&nbsp;socks.PROXY_TYPE_XXX<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;constants.&nbsp;For&nbsp;example:<br>
&nbsp;<br>
p&nbsp;=&nbsp;<a href="#ProxyInfo">ProxyInfo</a>(proxy_type=socks.PROXY_TYPE_HTTP,&nbsp;proxy_host='localhost',&nbsp;proxy_port=8000)</tt></dd></dl>
<dl><dt><a name="ProxyInfo-astuple"><strong>astuple</strong></a>(self)</dt></dl>
<dl><dt><a name="ProxyInfo-isgood"><strong>isgood</strong></a>(self)</dt></dl>
<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="RedirectLimit">class <strong>RedirectLimit</strong></a>(<a href="httplib2.html#HttpLib2ErrorWithResponse">HttpLib2ErrorWithResponse</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="httplib2.html#RedirectLimit">RedirectLimit</a></dd>
<dd><a href="httplib2.html#HttpLib2ErrorWithResponse">HttpLib2ErrorWithResponse</a></dd>
<dd><a href="httplib2.html#HttpLib2Error">HttpLib2Error</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods inherited from <a href="httplib2.html#HttpLib2ErrorWithResponse">HttpLib2ErrorWithResponse</a>:<br>
<dl><dt><a name="RedirectLimit-__init__"><strong>__init__</strong></a>(self, desc, response, content)</dt></dl>
<hr>
Data descriptors inherited from <a href="httplib2.html#HttpLib2Error">HttpLib2Error</a>:<br>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#RedirectLimit-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>
<hr>
Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><a name="RedirectLimit-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#RedirectLimit-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="RedirectLimit-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#RedirectLimit-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="RedirectLimit-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#RedirectLimit-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>
<dl><dt><a name="RedirectLimit-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#RedirectLimit-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
&nbsp;<br>
Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>
<dl><dt><a name="RedirectLimit-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>
<dl><dt><a name="RedirectLimit-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#RedirectLimit-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>
<dl><dt><a name="RedirectLimit-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#RedirectLimit-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>
<dl><dt><a name="RedirectLimit-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>
<dl><dt><a name="RedirectLimit-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#RedirectLimit-__str__">__str__</a>()&nbsp;&lt;==&gt;&nbsp;str(x)</tt></dd></dl>
<dl><dt><a name="RedirectLimit-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>
<hr>
Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
</dl>
<dl><dt><strong>args</strong></dt>
</dl>
<dl><dt><strong>message</strong></dt>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="RedirectMissingLocation">class <strong>RedirectMissingLocation</strong></a>(<a href="httplib2.html#HttpLib2ErrorWithResponse">HttpLib2ErrorWithResponse</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="httplib2.html#RedirectMissingLocation">RedirectMissingLocation</a></dd>
<dd><a href="httplib2.html#HttpLib2ErrorWithResponse">HttpLib2ErrorWithResponse</a></dd>
<dd><a href="httplib2.html#HttpLib2Error">HttpLib2Error</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods inherited from <a href="httplib2.html#HttpLib2ErrorWithResponse">HttpLib2ErrorWithResponse</a>:<br>
<dl><dt><a name="RedirectMissingLocation-__init__"><strong>__init__</strong></a>(self, desc, response, content)</dt></dl>
<hr>
Data descriptors inherited from <a href="httplib2.html#HttpLib2Error">HttpLib2Error</a>:<br>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#RedirectMissingLocation-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>
<hr>
Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><a name="RedirectMissingLocation-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#RedirectMissingLocation-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="RedirectMissingLocation-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#RedirectMissingLocation-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="RedirectMissingLocation-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#RedirectMissingLocation-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>
<dl><dt><a name="RedirectMissingLocation-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#RedirectMissingLocation-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
&nbsp;<br>
Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>
<dl><dt><a name="RedirectMissingLocation-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>
<dl><dt><a name="RedirectMissingLocation-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#RedirectMissingLocation-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>
<dl><dt><a name="RedirectMissingLocation-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#RedirectMissingLocation-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>
<dl><dt><a name="RedirectMissingLocation-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>
<dl><dt><a name="RedirectMissingLocation-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#RedirectMissingLocation-__str__">__str__</a>()&nbsp;&lt;==&gt;&nbsp;str(x)</tt></dd></dl>
<dl><dt><a name="RedirectMissingLocation-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>
<hr>
Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
</dl>
<dl><dt><strong>args</strong></dt>
</dl>
<dl><dt><strong>message</strong></dt>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Response">class <strong>Response</strong></a>(<a href="__builtin__.html#dict">__builtin__.dict</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>An&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;more&nbsp;like&nbsp;email.Message&nbsp;than&nbsp;httplib.HTTPResponse.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="httplib2.html#Response">Response</a></dd>
<dd><a href="__builtin__.html#dict">__builtin__.dict</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Response-__getattr__"><strong>__getattr__</strong></a>(self, name)</dt></dl>
<dl><dt><a name="Response-__init__"><strong>__init__</strong></a>(self, info)</dt></dl>
<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>fromcache</strong> = False</dl>
<dl><dt><strong>previous</strong> = None</dl>
<dl><dt><strong>reason</strong> = 'Ok'</dl>
<dl><dt><strong>status</strong> = 200</dl>
<dl><dt><strong>version</strong> = 11</dl>
<hr>
Methods inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br>
<dl><dt><a name="Response-__cmp__"><strong>__cmp__</strong></a>(...)</dt><dd><tt>x.<a href="#Response-__cmp__">__cmp__</a>(y)&nbsp;&lt;==&gt;&nbsp;cmp(x,y)</tt></dd></dl>
<dl><dt><a name="Response-__contains__"><strong>__contains__</strong></a>(...)</dt><dd><tt>D.<a href="#Response-__contains__">__contains__</a>(k)&nbsp;-&gt;&nbsp;True&nbsp;if&nbsp;D&nbsp;has&nbsp;a&nbsp;key&nbsp;k,&nbsp;else&nbsp;False</tt></dd></dl>
<dl><dt><a name="Response-__delitem__"><strong>__delitem__</strong></a>(...)</dt><dd><tt>x.<a href="#Response-__delitem__">__delitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;del&nbsp;x[y]</tt></dd></dl>
<dl><dt><a name="Response-__eq__"><strong>__eq__</strong></a>(...)</dt><dd><tt>x.<a href="#Response-__eq__">__eq__</a>(y)&nbsp;&lt;==&gt;&nbsp;x==y</tt></dd></dl>
<dl><dt><a name="Response-__ge__"><strong>__ge__</strong></a>(...)</dt><dd><tt>x.<a href="#Response-__ge__">__ge__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&gt;=y</tt></dd></dl>
<dl><dt><a name="Response-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#Response-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="Response-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#Response-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>
<dl><dt><a name="Response-__gt__"><strong>__gt__</strong></a>(...)</dt><dd><tt>x.<a href="#Response-__gt__">__gt__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&gt;y</tt></dd></dl>
<dl><dt><a name="Response-__iter__"><strong>__iter__</strong></a>(...)</dt><dd><tt>x.<a href="#Response-__iter__">__iter__</a>()&nbsp;&lt;==&gt;&nbsp;iter(x)</tt></dd></dl>
<dl><dt><a name="Response-__le__"><strong>__le__</strong></a>(...)</dt><dd><tt>x.<a href="#Response-__le__">__le__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&lt;=y</tt></dd></dl>
<dl><dt><a name="Response-__len__"><strong>__len__</strong></a>(...)</dt><dd><tt>x.<a href="#Response-__len__">__len__</a>()&nbsp;&lt;==&gt;&nbsp;len(x)</tt></dd></dl>
<dl><dt><a name="Response-__lt__"><strong>__lt__</strong></a>(...)</dt><dd><tt>x.<a href="#Response-__lt__">__lt__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&lt;y</tt></dd></dl>
<dl><dt><a name="Response-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>x.<a href="#Response-__ne__">__ne__</a>(y)&nbsp;&lt;==&gt;&nbsp;x!=y</tt></dd></dl>
<dl><dt><a name="Response-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#Response-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>
<dl><dt><a name="Response-__setitem__"><strong>__setitem__</strong></a>(...)</dt><dd><tt>x.<a href="#Response-__setitem__">__setitem__</a>(i,&nbsp;y)&nbsp;&lt;==&gt;&nbsp;x[i]=y</tt></dd></dl>
<dl><dt><a name="Response-__sizeof__"><strong>__sizeof__</strong></a>(...)</dt><dd><tt>D.<a href="#Response-__sizeof__">__sizeof__</a>()&nbsp;-&gt;&nbsp;size&nbsp;of&nbsp;D&nbsp;in&nbsp;memory,&nbsp;in&nbsp;bytes</tt></dd></dl>
<dl><dt><a name="Response-clear"><strong>clear</strong></a>(...)</dt><dd><tt>D.<a href="#Response-clear">clear</a>()&nbsp;-&gt;&nbsp;None.&nbsp;&nbsp;Remove&nbsp;all&nbsp;items&nbsp;from&nbsp;D.</tt></dd></dl>
<dl><dt><a name="Response-copy"><strong>copy</strong></a>(...)</dt><dd><tt>D.<a href="#Response-copy">copy</a>()&nbsp;-&gt;&nbsp;a&nbsp;shallow&nbsp;copy&nbsp;of&nbsp;D</tt></dd></dl>
<dl><dt><a name="Response-get"><strong>get</strong></a>(...)</dt><dd><tt>D.<a href="#Response-get">get</a>(k[,d])&nbsp;-&gt;&nbsp;D[k]&nbsp;if&nbsp;k&nbsp;in&nbsp;D,&nbsp;else&nbsp;d.&nbsp;&nbsp;d&nbsp;defaults&nbsp;to&nbsp;None.</tt></dd></dl>
<dl><dt><a name="Response-has_key"><strong>has_key</strong></a>(...)</dt><dd><tt>D.<a href="#Response-has_key">has_key</a>(k)&nbsp;-&gt;&nbsp;True&nbsp;if&nbsp;D&nbsp;has&nbsp;a&nbsp;key&nbsp;k,&nbsp;else&nbsp;False</tt></dd></dl>
<dl><dt><a name="Response-items"><strong>items</strong></a>(...)</dt><dd><tt>D.<a href="#Response-items">items</a>()&nbsp;-&gt;&nbsp;list&nbsp;of&nbsp;D's&nbsp;(key,&nbsp;value)&nbsp;pairs,&nbsp;as&nbsp;2-tuples</tt></dd></dl>
<dl><dt><a name="Response-iteritems"><strong>iteritems</strong></a>(...)</dt><dd><tt>D.<a href="#Response-iteritems">iteritems</a>()&nbsp;-&gt;&nbsp;an&nbsp;iterator&nbsp;over&nbsp;the&nbsp;(key,&nbsp;value)&nbsp;items&nbsp;of&nbsp;D</tt></dd></dl>
<dl><dt><a name="Response-iterkeys"><strong>iterkeys</strong></a>(...)</dt><dd><tt>D.<a href="#Response-iterkeys">iterkeys</a>()&nbsp;-&gt;&nbsp;an&nbsp;iterator&nbsp;over&nbsp;the&nbsp;keys&nbsp;of&nbsp;D</tt></dd></dl>
<dl><dt><a name="Response-itervalues"><strong>itervalues</strong></a>(...)</dt><dd><tt>D.<a href="#Response-itervalues">itervalues</a>()&nbsp;-&gt;&nbsp;an&nbsp;iterator&nbsp;over&nbsp;the&nbsp;values&nbsp;of&nbsp;D</tt></dd></dl>
<dl><dt><a name="Response-keys"><strong>keys</strong></a>(...)</dt><dd><tt>D.<a href="#Response-keys">keys</a>()&nbsp;-&gt;&nbsp;list&nbsp;of&nbsp;D's&nbsp;keys</tt></dd></dl>
<dl><dt><a name="Response-pop"><strong>pop</strong></a>(...)</dt><dd><tt>D.<a href="#Response-pop">pop</a>(k[,d])&nbsp;-&gt;&nbsp;v,&nbsp;remove&nbsp;specified&nbsp;key&nbsp;and&nbsp;return&nbsp;the&nbsp;corresponding&nbsp;value.<br>
If&nbsp;key&nbsp;is&nbsp;not&nbsp;found,&nbsp;d&nbsp;is&nbsp;returned&nbsp;if&nbsp;given,&nbsp;otherwise&nbsp;KeyError&nbsp;is&nbsp;raised</tt></dd></dl>
<dl><dt><a name="Response-popitem"><strong>popitem</strong></a>(...)</dt><dd><tt>D.<a href="#Response-popitem">popitem</a>()&nbsp;-&gt;&nbsp;(k,&nbsp;v),&nbsp;remove&nbsp;and&nbsp;return&nbsp;some&nbsp;(key,&nbsp;value)&nbsp;pair&nbsp;as&nbsp;a<br>
2-tuple;&nbsp;but&nbsp;raise&nbsp;KeyError&nbsp;if&nbsp;D&nbsp;is&nbsp;empty.</tt></dd></dl>
<dl><dt><a name="Response-setdefault"><strong>setdefault</strong></a>(...)</dt><dd><tt>D.<a href="#Response-setdefault">setdefault</a>(k[,d])&nbsp;-&gt;&nbsp;D.<a href="#Response-get">get</a>(k,d),&nbsp;also&nbsp;set&nbsp;D[k]=d&nbsp;if&nbsp;k&nbsp;not&nbsp;in&nbsp;D</tt></dd></dl>
<dl><dt><a name="Response-update"><strong>update</strong></a>(...)</dt><dd><tt>D.<a href="#Response-update">update</a>(E,&nbsp;**F)&nbsp;-&gt;&nbsp;None.&nbsp;&nbsp;Update&nbsp;D&nbsp;from&nbsp;<a href="__builtin__.html#dict">dict</a>/iterable&nbsp;E&nbsp;and&nbsp;F.<br>
If&nbsp;E&nbsp;has&nbsp;a&nbsp;.<a href="#Response-keys">keys</a>()&nbsp;method,&nbsp;does:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for&nbsp;k&nbsp;in&nbsp;E:&nbsp;D[k]&nbsp;=&nbsp;E[k]<br>
If&nbsp;E&nbsp;lacks&nbsp;.<a href="#Response-keys">keys</a>()&nbsp;method,&nbsp;does:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for&nbsp;(k,&nbsp;v)&nbsp;in&nbsp;E:&nbsp;D[k]&nbsp;=&nbsp;v<br>
In&nbsp;either&nbsp;case,&nbsp;this&nbsp;is&nbsp;followed&nbsp;by:&nbsp;for&nbsp;k&nbsp;in&nbsp;F:&nbsp;D[k]&nbsp;=&nbsp;F[k]</tt></dd></dl>
<dl><dt><a name="Response-values"><strong>values</strong></a>(...)</dt><dd><tt>D.<a href="#Response-values">values</a>()&nbsp;-&gt;&nbsp;list&nbsp;of&nbsp;D's&nbsp;values</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br>
<dl><dt><strong>__hash__</strong> = None</dl>
<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#Response-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>
<dl><dt><strong>fromkeys</strong> = &lt;built-in method fromkeys of type object&gt;<dd><tt><a href="__builtin__.html#dict">dict</a>.<a href="#Response-fromkeys">fromkeys</a>(S[,v])&nbsp;-&gt;&nbsp;New&nbsp;<a href="__builtin__.html#dict">dict</a>&nbsp;with&nbsp;keys&nbsp;from&nbsp;S&nbsp;and&nbsp;values&nbsp;equal&nbsp;to&nbsp;v.<br>
v&nbsp;defaults&nbsp;to&nbsp;None.</tt></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="UnimplementedDigestAuthOptionError">class <strong>UnimplementedDigestAuthOptionError</strong></a>(<a href="httplib2.html#HttpLib2ErrorWithResponse">HttpLib2ErrorWithResponse</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="httplib2.html#UnimplementedDigestAuthOptionError">UnimplementedDigestAuthOptionError</a></dd>
<dd><a href="httplib2.html#HttpLib2ErrorWithResponse">HttpLib2ErrorWithResponse</a></dd>
<dd><a href="httplib2.html#HttpLib2Error">HttpLib2Error</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods inherited from <a href="httplib2.html#HttpLib2ErrorWithResponse">HttpLib2ErrorWithResponse</a>:<br>
<dl><dt><a name="UnimplementedDigestAuthOptionError-__init__"><strong>__init__</strong></a>(self, desc, response, content)</dt></dl>
<hr>
Data descriptors inherited from <a href="httplib2.html#HttpLib2Error">HttpLib2Error</a>:<br>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#UnimplementedDigestAuthOptionError-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>
<hr>
Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><a name="UnimplementedDigestAuthOptionError-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#UnimplementedDigestAuthOptionError-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="UnimplementedDigestAuthOptionError-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#UnimplementedDigestAuthOptionError-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="UnimplementedDigestAuthOptionError-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#UnimplementedDigestAuthOptionError-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>
<dl><dt><a name="UnimplementedDigestAuthOptionError-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#UnimplementedDigestAuthOptionError-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
&nbsp;<br>
Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>
<dl><dt><a name="UnimplementedDigestAuthOptionError-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>
<dl><dt><a name="UnimplementedDigestAuthOptionError-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#UnimplementedDigestAuthOptionError-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>
<dl><dt><a name="UnimplementedDigestAuthOptionError-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#UnimplementedDigestAuthOptionError-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>
<dl><dt><a name="UnimplementedDigestAuthOptionError-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>
<dl><dt><a name="UnimplementedDigestAuthOptionError-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#UnimplementedDigestAuthOptionError-__str__">__str__</a>()&nbsp;&lt;==&gt;&nbsp;str(x)</tt></dd></dl>
<dl><dt><a name="UnimplementedDigestAuthOptionError-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>
<hr>
Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
</dl>
<dl><dt><strong>args</strong></dt>
</dl>
<dl><dt><strong>message</strong></dt>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="UnimplementedHmacDigestAuthOptionError">class <strong>UnimplementedHmacDigestAuthOptionError</strong></a>(<a href="httplib2.html#HttpLib2ErrorWithResponse">HttpLib2ErrorWithResponse</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="httplib2.html#UnimplementedHmacDigestAuthOptionError">UnimplementedHmacDigestAuthOptionError</a></dd>
<dd><a href="httplib2.html#HttpLib2ErrorWithResponse">HttpLib2ErrorWithResponse</a></dd>
<dd><a href="httplib2.html#HttpLib2Error">HttpLib2Error</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods inherited from <a href="httplib2.html#HttpLib2ErrorWithResponse">HttpLib2ErrorWithResponse</a>:<br>
<dl><dt><a name="UnimplementedHmacDigestAuthOptionError-__init__"><strong>__init__</strong></a>(self, desc, response, content)</dt></dl>
<hr>
Data descriptors inherited from <a href="httplib2.html#HttpLib2Error">HttpLib2Error</a>:<br>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#UnimplementedHmacDigestAuthOptionError-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>
<hr>
Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><a name="UnimplementedHmacDigestAuthOptionError-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#UnimplementedHmacDigestAuthOptionError-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="UnimplementedHmacDigestAuthOptionError-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#UnimplementedHmacDigestAuthOptionError-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="UnimplementedHmacDigestAuthOptionError-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#UnimplementedHmacDigestAuthOptionError-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>
<dl><dt><a name="UnimplementedHmacDigestAuthOptionError-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#UnimplementedHmacDigestAuthOptionError-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
&nbsp;<br>
Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>
<dl><dt><a name="UnimplementedHmacDigestAuthOptionError-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>
<dl><dt><a name="UnimplementedHmacDigestAuthOptionError-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#UnimplementedHmacDigestAuthOptionError-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>
<dl><dt><a name="UnimplementedHmacDigestAuthOptionError-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#UnimplementedHmacDigestAuthOptionError-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>
<dl><dt><a name="UnimplementedHmacDigestAuthOptionError-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>
<dl><dt><a name="UnimplementedHmacDigestAuthOptionError-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#UnimplementedHmacDigestAuthOptionError-__str__">__str__</a>()&nbsp;&lt;==&gt;&nbsp;str(x)</tt></dd></dl>
<dl><dt><a name="UnimplementedHmacDigestAuthOptionError-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>
<hr>
Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
</dl>
<dl><dt><strong>args</strong></dt>
</dl>
<dl><dt><strong>message</strong></dt>
</dl>
</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><strong>__all__</strong> = ['Http', 'Response', 'ProxyInfo', 'HttpLib2Error', 'RedirectMissingLocation', 'RedirectLimit', 'FailedToDecompressContent', 'UnimplementedDigestAuthOptionError', 'UnimplementedHmacDigestAuthOptionError', 'debuglevel', 'ProxiesUnavailableError']<br>
<strong>__author__</strong> = 'Joe Gregorio (joe@bitworking.org)'<br>
<strong>__contributors__</strong> = ['Thomas Broyer (t.broyer@ltgt.net)', 'James Antill', 'Xavier Verges Farrero', 'Jonathan Feinberg', 'Blair Zajac', 'Sam Ruby', 'Louis Nyffenegger']<br>
<strong>__copyright__</strong> = 'Copyright 2006, Joe Gregorio'<br>
<strong>__license__</strong> = 'MIT'<br>
<strong>__version__</strong> = '0.7.0'<br>
<strong>debuglevel</strong> = 0</td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#7799ee">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Author</strong></big></font></td></tr>
<tr><td bgcolor="#7799ee"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%">Joe&nbsp;Gregorio&nbsp;(joe@bitworking.org)</td></tr></table>
</body></html>