Commits

Anonymous committed 84188d8

regen doc

Comments (0)

Files changed (44)

+Searching for simplejson
+Reading http://pypi.python.org/simple/simplejson/
+Reading http://undefined.org/python/#simplejson
+Best match: simplejson 2.0.9
+Downloading http://pypi.python.org/packages/source/s/simplejson/simplejson-2.0.9.tar.gz#md5=af5e67a39ca3408563411d357e6d5e47
+Processing simplejson-2.0.9.tar.gz
+Running simplejson-2.0.9/setup.py -q bdist_egg --dist-dir /tmp/easy_install-wYlFvS/simplejson-2.0.9/egg-dist-tmp-EVFREA
+Adding simplejson 2.0.9 to easy-install.pth file
+
+Installed /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/simplejson-2.0.9-py2.6-macosx-10.3-fat.egg
+Processing dependencies for simplejson
+Finished processing dependencies for simplejson
+Searching for simplejson
+Best match: simplejson 2.0.9
+Processing simplejson-2.0.9-py2.6-macosx-10.3-fat.egg
+simplejson 2.0.9 is already the active version in easy-install.pth
+
+Using /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/simplejson-2.0.9-py2.6-macosx-10.3-fat.egg
+Processing dependencies for simplejson
+Finished processing dependencies for simplejson

docs/_build/doctrees/environment.pickle

Binary file modified.

docs/_build/doctrees/exceptions.doctree

Binary file added.

docs/_build/doctrees/gettingstarted.doctree

Binary file modified.

docs/_build/doctrees/index.doctree

Binary file modified.

docs/_build/doctrees/installation.doctree

Binary file modified.

docs/_build/doctrees/resource.doctree

Binary file modified.

docs/_build/doctrees/transports.doctree

Binary file modified.

docs/_build/doctrees/whatsnew.doctree

Binary file modified.

docs/_build/html/_sources/exceptions.txt

+.. _exceptions_ref:
+
+Exceptions
+==========
+
+.. module:: restclient.errors
+
+.. autoexception:: restclient.errors.ResourceNotFound
+.. autoexception:: restclient.errors.Unauthorized
+.. autoexception:: restclient.errors.RequestFailed
+.. autoexception:: restclient.errors.RequestError
+.. autoexception:: restclient.errors.TransportError
+.. autoexception:: restclient.errors.InvalidUrl

docs/_build/html/_sources/gettingstarted.txt

File contents unchanged.

docs/_build/html/_sources/index.txt

 
    resource
    transports
+   exceptions
 
 * Follow development on `Bitbucket <http://bitbucket.org/benoitc/py-restclient/>`_.
 * Report bugs, report features and browse the source through `Tracker <http://bitbucket.org/benoitc/py-restclient/issues/>`_.

docs/_build/html/_sources/installation.txt

File contents unchanged.

docs/_build/html/_sources/resource.txt

     .. automethod:: restclient.rest.RestClient.put
 
     .. automethod:: restclient.rest.RestClient.request
- 
-Exceptions
-----------
-
-.. autoexception:: restclient.rest.ResourceNotFound
-.. autoexception:: restclient.rest.Unauthorized
-.. autoexception:: restclient.rest.RequestFailed
-.. autoexception:: restclient.rest.RequestError
-
 
 .. _Pycurl: http://pycurl.sourceforge.net/
 .. _Httplib2: http://code.google.com/p/httplib2/

docs/_build/html/_sources/transports.txt

File contents unchanged.

docs/_build/html/_sources/whatsnew.txt

 .. _whatsnew:
 
 
-***************************************
-What's New in python-restclient 1.2
-***************************************
+Changes
+=======
+
+1.3
+---
+
+- Detection of file size & type if body object is a file object. Also fix Content-Length for strings
+- Code have been refactored. All exceptions are now in :mod:`restclient.errors`. All transports have been splitted in :mod:`restclient.transport`
+- curl transport default timeout is now 0.
+- some fixes
+
+1.2
+---
 
 Encoding:
 ---------

docs/_build/html/_static/contents.png

Old
Old image
New
New image

docs/_build/html/_static/default.css

File contents unchanged.

docs/_build/html/_static/doctools.js

File contents unchanged.

docs/_build/html/_static/file.png

Old
Old image
New
New image

docs/_build/html/_static/jquery.js

File contents unchanged.

docs/_build/html/_static/minus.png

Old
Old image
New
New image

docs/_build/html/_static/navigation.png

Old
Old image
New
New image

docs/_build/html/_static/plus.png

Old
Old image
New
New image

docs/_build/html/_static/pygments.css

File contents unchanged.

docs/_build/html/_static/rightsidebar.css

File contents unchanged.

docs/_build/html/_static/searchtools.js

File contents unchanged.

docs/_build/html/_static/sphinxdoc.css

File contents unchanged.

docs/_build/html/_static/stickysidebar.css

File contents unchanged.

docs/_build/html/_static/traditional.css

File contents unchanged.

docs/_build/html/console.html

   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     
-    <title>Console client &mdash; py-restclient v1.2 documentation</title>
+    <title>Console client &mdash; py-restclient v1.3.0 documentation</title>
     <link rel="stylesheet" href="_static/default.css" type="text/css" />
     <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
     <script type="text/javascript">
       var DOCUMENTATION_OPTIONS = {
         URL_ROOT:    '',
-        VERSION:     '1.2',
+        VERSION:     '1.3.0',
         COLLAPSE_MODINDEX: false,
         FILE_SUFFIX: '.html',
         HAS_SOURCE:  true
     <script type="text/javascript" src="_static/doctools.js"></script>
     <link rel="index" title="Index" href="genindex.html" />
     <link rel="search" title="Search" href="search.html" />
-    <link rel="top" title="py-restclient v1.2 documentation" href="index.html" />
-    <link rel="next" title="What&#8217;s New in python-restclient 1.2" href="whatsnew.html" />
+    <link rel="top" title="py-restclient v1.3.0 documentation" href="index.html" />
+    <link rel="next" title="Changes" href="whatsnew.html" />
     <link rel="prev" title="Getting Started" href="gettingstarted.html" /> 
   </head>
   <body>
           <a href="modindex.html" title="Global Module Index"
              accesskey="M">modules</a> |</li>
         <li class="right" >
-          <a href="whatsnew.html" title="What&#8217;s New in python-restclient 1.2"
+          <a href="whatsnew.html" title="Changes"
              accesskey="N">next</a> |</li>
         <li class="right" >
           <a href="gettingstarted.html" title="Getting Started"
              accesskey="P">previous</a> |</li>
-        <li><a href="index.html">py-restclient v1.2 documentation</a> &raquo;</li> 
+        <li><a href="index.html">py-restclient v1.3.0 documentation</a> &raquo;</li> 
       </ul>
     </div>  
     <div class="document">
             <h4>Previous topic</h4>
             <p class="topless"><a href="gettingstarted.html" title="previous chapter">Getting Started</a></p>
             <h4>Next topic</h4>
-            <p class="topless"><a href="whatsnew.html" title="next chapter">What&#8217;s New in python-restclient 1.2</a></p>
+            <p class="topless"><a href="whatsnew.html" title="next chapter">Changes</a></p>
             <h3>This Page</h3>
             <ul class="this-page-menu">
               <li><a href="_sources/console.txt">Show Source</a></li>
           <a href="modindex.html" title="Global Module Index"
              accesskey="M">modules</a> |</li>
         <li class="right" >
-          <a href="whatsnew.html" title="What&#8217;s New in python-restclient 1.2"
+          <a href="whatsnew.html" title="Changes"
              accesskey="N">next</a> |</li>
         <li class="right" >
           <a href="gettingstarted.html" title="Getting Started"
              accesskey="P">previous</a> |</li>
-        <li><a href="index.html">py-restclient v1.2 documentation</a> &raquo;</li> 
+        <li><a href="index.html">py-restclient v1.3.0 documentation</a> &raquo;</li> 
       </ul>
     </div>
     <div class="footer">

docs/_build/html/exceptions.html

+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+    
+    <title>Exceptions &mdash; py-restclient v1.3.0 documentation</title>
+    <link rel="stylesheet" href="_static/default.css" type="text/css" />
+    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
+    <script type="text/javascript">
+      var DOCUMENTATION_OPTIONS = {
+        URL_ROOT:    '',
+        VERSION:     '1.3.0',
+        COLLAPSE_MODINDEX: false,
+        FILE_SUFFIX: '.html',
+        HAS_SOURCE:  true
+      };
+    </script>
+    <script type="text/javascript" src="_static/jquery.js"></script>
+    <script type="text/javascript" src="_static/doctools.js"></script>
+    <link rel="index" title="Index" href="genindex.html" />
+    <link rel="search" title="Search" href="search.html" />
+    <link rel="top" title="py-restclient v1.3.0 documentation" href="index.html" />
+    <link rel="prev" title="HTTP Transports" href="transports.html" /> 
+  </head>
+  <body>
+    <div class="related">
+      <h3>Navigation</h3>
+      <ul>
+        <li class="right" style="margin-right: 10px">
+          <a href="genindex.html" title="General Index"
+             accesskey="I">index</a></li>
+        <li class="right" >
+          <a href="modindex.html" title="Global Module Index"
+             accesskey="M">modules</a> |</li>
+        <li class="right" >
+          <a href="transports.html" title="HTTP Transports"
+             accesskey="P">previous</a> |</li>
+        <li><a href="index.html">py-restclient v1.3.0 documentation</a> &raquo;</li> 
+      </ul>
+    </div>  
+    <div class="document">
+      <div class="documentwrapper">
+        <div class="bodywrapper">
+          <div class="body">
+            
+  
+  <div class="section" id="module-restclient.errors">
+<span id="exceptions-ref"></span><h1>Exceptions<a class="headerlink" href="#module-restclient.errors" title="Permalink to this headline">¶</a></h1>
+<dl class="exception">
+<dt id="restclient.errors.ResourceNotFound">
+<!--[restclient.errors.ResourceNotFound]-->exception <tt class="descclassname">restclient.errors.</tt><tt class="descname">ResourceNotFound</tt><a class="headerlink" href="#restclient.errors.ResourceNotFound" title="Permalink to this definition">¶</a></dt>
+<dd>Exception raised when no resource was found at the given url.</dd></dl>
+
+<dl class="exception">
+<dt id="restclient.errors.Unauthorized">
+<!--[restclient.errors.Unauthorized]-->exception <tt class="descclassname">restclient.errors.</tt><tt class="descname">Unauthorized</tt><a class="headerlink" href="#restclient.errors.Unauthorized" title="Permalink to this definition">¶</a></dt>
+<dd>Exception raised when an authorization is required to access to
+the resource specified.</dd></dl>
+
+<dl class="exception">
+<dt id="restclient.errors.RequestFailed">
+<!--[restclient.errors.RequestFailed]-->exception <tt class="descclassname">restclient.errors.</tt><tt class="descname">RequestFailed</tt><a class="headerlink" href="#restclient.errors.RequestFailed" title="Permalink to this definition">¶</a></dt>
+<dd><p>Exception raised when an unexpected HTTP error is received in response
+to a request.</p>
+<p>The request failed, meaning the remote HTTP server returned a code 
+other than success, unauthorized, or NotFound.</p>
+<p>The exception message attempts to extract the error</p>
+<p>You can get the status code by e.http_code, or see anything about the 
+response via e.response. For example, the entire result body (which is 
+probably an HTML error page) is e.response.body.</p>
+</dd></dl>
+
+<dl class="exception">
+<dt id="restclient.errors.RequestError">
+<!--[restclient.errors.RequestError]-->exception <tt class="descclassname">restclient.errors.</tt><tt class="descname">RequestError</tt><a class="headerlink" href="#restclient.errors.RequestError" title="Permalink to this definition">¶</a></dt>
+<dd>Exception raised when a request is malformed</dd></dl>
+
+<dl class="exception">
+<dt id="restclient.errors.TransportError">
+<!--[restclient.errors.TransportError]-->exception <tt class="descclassname">restclient.errors.</tt><tt class="descname">TransportError</tt><a class="headerlink" href="#restclient.errors.TransportError" title="Permalink to this definition">¶</a></dt>
+<dd>Error raised by a transport</dd></dl>
+
+<dl class="exception">
+<dt id="restclient.errors.InvalidUrl">
+<!--[restclient.errors.InvalidUrl]-->exception <tt class="descclassname">restclient.errors.</tt><tt class="descname">InvalidUrl</tt><a class="headerlink" href="#restclient.errors.InvalidUrl" title="Permalink to this definition">¶</a></dt>
+<dd>Not a valid url for use with this software.</dd></dl>
+
+</div>
+
+
+          </div>
+        </div>
+      </div>
+      <div class="sphinxsidebar">
+        <div class="sphinxsidebarwrapper">
+            <h4>Previous topic</h4>
+            <p class="topless"><a href="transports.html" title="previous chapter">HTTP Transports</a></p>
+            <h3>This Page</h3>
+            <ul class="this-page-menu">
+              <li><a href="_sources/exceptions.txt">Show Source</a></li>
+            </ul>
+          <h3>Quick search</h3>
+            <form class="search" action="search.html" method="get">
+              <input type="text" name="q" size="18" /> <input type="submit" value="Go" />
+              <input type="hidden" name="check_keywords" value="yes" />
+              <input type="hidden" name="area" value="default" />
+            </form>
+        </div>
+      </div>
+      <div class="clearer"></div>
+    </div>
+    <div class="related">
+      <h3>Navigation</h3>
+      <ul>
+        <li class="right" style="margin-right: 10px">
+          <a href="genindex.html" title="General Index"
+             accesskey="I">index</a></li>
+        <li class="right" >
+          <a href="modindex.html" title="Global Module Index"
+             accesskey="M">modules</a> |</li>
+        <li class="right" >
+          <a href="transports.html" title="HTTP Transports"
+             accesskey="P">previous</a> |</li>
+        <li><a href="index.html">py-restclient v1.3.0 documentation</a> &raquo;</li> 
+      </ul>
+    </div>
+    <div class="footer">
+      &copy; Copyright 2008, 2009 Benoit Chesneau &lt;benoitc@e-engura.org&gt;.
+      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.5.1.
+    </div>
+  </body>
+</html>

docs/_build/html/genindex.html

   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     
-    <title>Index &mdash; py-restclient v1.2 documentation</title>
+    <title>Index &mdash; py-restclient v1.3.0 documentation</title>
     <link rel="stylesheet" href="_static/default.css" type="text/css" />
     <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
     <script type="text/javascript">
       var DOCUMENTATION_OPTIONS = {
         URL_ROOT:    '',
-        VERSION:     '1.2',
+        VERSION:     '1.3.0',
         COLLAPSE_MODINDEX: false,
         FILE_SUFFIX: '.html',
         HAS_SOURCE:  true
     <script type="text/javascript" src="_static/doctools.js"></script>
     <link rel="index" title="Index" href="" />
     <link rel="search" title="Search" href="search.html" />
-    <link rel="top" title="py-restclient v1.2 documentation" href="index.html" /> 
+    <link rel="top" title="py-restclient v1.3.0 documentation" href="index.html" /> 
   </head>
   <body>
     <div class="related">
         <li class="right" >
           <a href="modindex.html" title="Global Module Index"
              accesskey="M">modules</a> |</li>
-        <li><a href="index.html">py-restclient v1.2 documentation</a> &raquo;</li> 
+        <li><a href="index.html">py-restclient v1.3.0 documentation</a> &raquo;</li> 
       </ul>
     </div>  
     <div class="document">
 
    <h1 id="index">Index</h1>
 
-   <a href="#_"><strong>_</strong></a> | <a href="#A"><strong>A</strong></a> | <a href="#C"><strong>C</strong></a> | <a href="#D"><strong>D</strong></a> | <a href="#G"><strong>G</strong></a> | <a href="#H"><strong>H</strong></a> | <a href="#P"><strong>P</strong></a> | <a href="#R"><strong>R</strong></a> | <a href="#S"><strong>S</strong></a> | <a href="#T"><strong>T</strong></a> | <a href="#U"><strong>U</strong></a> 
+   <a href="#_"><strong>_</strong></a> | <a href="#A"><strong>A</strong></a> | <a href="#C"><strong>C</strong></a> | <a href="#D"><strong>D</strong></a> | <a href="#G"><strong>G</strong></a> | <a href="#H"><strong>H</strong></a> | <a href="#I"><strong>I</strong></a> | <a href="#P"><strong>P</strong></a> | <a href="#R"><strong>R</strong></a> | <a href="#S"><strong>S</strong></a> | <a href="#T"><strong>T</strong></a> | <a href="#U"><strong>U</strong></a> 
 
    <hr />
 
 <dt><a href="transports.html#restclient.transport.HTTPTransportBase">HTTPTransportBase (class in restclient.transport)</a></dt>
 </dl></td></tr></table>
 
+<h2 id="I">I</h2>
+<table width="100%" class="indextable"><tr><td width="33%" valign="top">
+<dl>
+
+<dt><a href="exceptions.html#restclient.errors.InvalidUrl">InvalidUrl</a></dt></dl></td><td width="33%" valign="top"><dl>
+</dl></td></tr></table>
+
 <h2 id="P">P</h2>
 <table width="100%" class="indextable"><tr><td width="33%" valign="top">
 <dl>
     <dt><a href="resource.html#restclient.rest.RestClient.request">(restclient.rest.RestClient method)</a></dt>
     <dt><a href="transports.html#restclient.transport.HTTPTransportBase.request">(restclient.transport.HTTPTransportBase method)</a></dt>
   </dl></dd>
-<dt><a href="resource.html#restclient.rest.RequestError">RequestError</a></dt>
-<dt><a href="resource.html#restclient.rest.RequestFailed">RequestFailed</a></dt>
+<dt><a href="exceptions.html#restclient.errors.RequestError">RequestError</a></dt>
+<dt><a href="exceptions.html#restclient.errors.RequestFailed">RequestFailed</a></dt>
 <dt><a href="resource.html#restclient.rest.Resource">Resource (class in restclient.rest)</a></dt></dl></td><td width="33%" valign="top"><dl>
-<dt><a href="resource.html#restclient.rest.ResourceNotFound">ResourceNotFound</a></dt>
+<dt><a href="exceptions.html#restclient.errors.ResourceNotFound">ResourceNotFound</a></dt>
 <dt><a href="resource.html#restclient.rest.RestClient">RestClient (class in restclient.rest)</a></dt>
 <dt><a href="resource.html#module-restclient">restclient (module)</a></dt>
+<dt><a href="exceptions.html#module-restclient.errors">restclient.errors (module)</a></dt>
 <dt><a href="transports.html#module-restclient.transport">restclient.transport (module)</a></dt>
 </dl></td></tr></table>
 
   <dd><dl>
     <dt><a href="resource.html#restclient.RestClient.transport">(restclient.RestClient attribute)</a></dt>
   </dl></dd></dl></td><td width="33%" valign="top"><dl>
+<dt><a href="exceptions.html#restclient.errors.TransportError">TransportError</a></dt>
 </dl></td></tr></table>
 
 <h2 id="U">U</h2>
 <table width="100%" class="indextable"><tr><td width="33%" valign="top">
 <dl>
 
-<dt><a href="resource.html#restclient.rest.Unauthorized">Unauthorized</a></dt>
+<dt><a href="exceptions.html#restclient.errors.Unauthorized">Unauthorized</a></dt>
 <dt><a href="resource.html#restclient.rest.Resource.update_uri">update_uri() (restclient.rest.Resource method)</a></dt></dl></td><td width="33%" valign="top"><dl>
 <dt><a href="resource.html#restclient.Resource.uri">uri (restclient.Resource attribute)</a></dt>
 </dl></td></tr></table>
         <li class="right" >
           <a href="modindex.html" title="Global Module Index"
              accesskey="M">modules</a> |</li>
-        <li><a href="index.html">py-restclient v1.2 documentation</a> &raquo;</li> 
+        <li><a href="index.html">py-restclient v1.3.0 documentation</a> &raquo;</li> 
       </ul>
     </div>
     <div class="footer">

docs/_build/html/gettingstarted.html

   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     
-    <title>Getting Started &mdash; py-restclient v1.2 documentation</title>
+    <title>Getting Started &mdash; py-restclient v1.3.0 documentation</title>
     <link rel="stylesheet" href="_static/default.css" type="text/css" />
     <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
     <script type="text/javascript">
       var DOCUMENTATION_OPTIONS = {
         URL_ROOT:    '',
-        VERSION:     '1.2',
+        VERSION:     '1.3.0',
         COLLAPSE_MODINDEX: false,
         FILE_SUFFIX: '.html',
         HAS_SOURCE:  true
     <script type="text/javascript" src="_static/doctools.js"></script>
     <link rel="index" title="Index" href="genindex.html" />
     <link rel="search" title="Search" href="search.html" />
-    <link rel="top" title="py-restclient v1.2 documentation" href="index.html" />
+    <link rel="top" title="py-restclient v1.3.0 documentation" href="index.html" />
     <link rel="next" title="Console client" href="console.html" />
     <link rel="prev" title="Installation" href="installation.html" /> 
   </head>
         <li class="right" >
           <a href="installation.html" title="Installation"
              accesskey="P">previous</a> |</li>
-        <li><a href="index.html">py-restclient v1.2 documentation</a> &raquo;</li> 
+        <li><a href="index.html">py-restclient v1.3.0 documentation</a> &raquo;</li> 
       </ul>
     </div>  
     <div class="document">
         <li class="right" >
           <a href="installation.html" title="Installation"
              accesskey="P">previous</a> |</li>
-        <li><a href="index.html">py-restclient v1.2 documentation</a> &raquo;</li> 
+        <li><a href="index.html">py-restclient v1.3.0 documentation</a> &raquo;</li> 
       </ul>
     </div>
     <div class="footer">

docs/_build/html/index.html

   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     
-    <title>Welcome to python-restclient&#8217;s documentation! &mdash; py-restclient v1.2 documentation</title>
+    <title>Welcome to python-restclient&#8217;s documentation! &mdash; py-restclient v1.3.0 documentation</title>
     <link rel="stylesheet" href="_static/default.css" type="text/css" />
     <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
     <script type="text/javascript">
       var DOCUMENTATION_OPTIONS = {
         URL_ROOT:    '',
-        VERSION:     '1.2',
+        VERSION:     '1.3.0',
         COLLAPSE_MODINDEX: false,
         FILE_SUFFIX: '.html',
         HAS_SOURCE:  true
     <script type="text/javascript" src="_static/doctools.js"></script>
     <link rel="index" title="Index" href="genindex.html" />
     <link rel="search" title="Search" href="search.html" />
-    <link rel="top" title="py-restclient v1.2 documentation" href="" />
+    <link rel="top" title="py-restclient v1.3.0 documentation" href="" />
     <link rel="next" title="Installation" href="installation.html" /> 
   </head>
   <body>
         <li class="right" >
           <a href="installation.html" title="Installation"
              accesskey="N">next</a> |</li>
-        <li><a href="">py-restclient v1.2 documentation</a> &raquo;</li> 
+        <li><a href="">py-restclient v1.3.0 documentation</a> &raquo;</li> 
       </ul>
     </div>  
     <div class="document">
 </li>
 </ul>
 <ul>
-<li class="toctree-l1"><a class="reference external" href="whatsnew.html">What&#8217;s New in python-restclient 1.2</a><ul>
+<li class="toctree-l1"><a class="reference external" href="whatsnew.html">Changes</a><ul>
+<li class="toctree-l2"><a class="reference external" href="whatsnew.html#id1">1.3</a></li>
+<li class="toctree-l2"><a class="reference external" href="whatsnew.html#id2">1.2</a></li>
 <li class="toctree-l2"><a class="reference external" href="whatsnew.html#encoding">Encoding:</a></li>
 <li class="toctree-l2"><a class="reference external" href="whatsnew.html#fixes">Fixes:</a></li>
 </ul>
 <li class="toctree-l1"><a class="reference external" href="resource.html">Resource</a><ul>
 <li class="toctree-l2"><a class="reference external" href="resource.html#resource-class">Resource class</a></li>
 <li class="toctree-l2"><a class="reference external" href="resource.html#restclient-class">RestClient class</a></li>
-<li class="toctree-l2"><a class="reference external" href="resource.html#exceptions">Exceptions</a></li>
 </ul>
 </li>
 </ul>
 </ul>
 </li>
 </ul>
+<ul>
+<li class="toctree-l1"><a class="reference external" href="exceptions.html">Exceptions</a></li>
+</ul>
 <ul class="simple">
 <li>Follow development on <a class="reference external" href="http://bitbucket.org/benoitc/py-restclient/">Bitbucket</a>.</li>
 <li>Report bugs, report features and browse the source through <a class="reference external" href="http://bitbucket.org/benoitc/py-restclient/issues/">Tracker</a>.</li>
         <li class="right" >
           <a href="installation.html" title="Installation"
              accesskey="N">next</a> |</li>
-        <li><a href="">py-restclient v1.2 documentation</a> &raquo;</li> 
+        <li><a href="">py-restclient v1.3.0 documentation</a> &raquo;</li> 
       </ul>
     </div>
     <div class="footer">

docs/_build/html/installation.html

   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     
-    <title>Installation &mdash; py-restclient v1.2 documentation</title>
+    <title>Installation &mdash; py-restclient v1.3.0 documentation</title>
     <link rel="stylesheet" href="_static/default.css" type="text/css" />
     <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
     <script type="text/javascript">
       var DOCUMENTATION_OPTIONS = {
         URL_ROOT:    '',
-        VERSION:     '1.2',
+        VERSION:     '1.3.0',
         COLLAPSE_MODINDEX: false,
         FILE_SUFFIX: '.html',
         HAS_SOURCE:  true
     <script type="text/javascript" src="_static/doctools.js"></script>
     <link rel="index" title="Index" href="genindex.html" />
     <link rel="search" title="Search" href="search.html" />
-    <link rel="top" title="py-restclient v1.2 documentation" href="index.html" />
+    <link rel="top" title="py-restclient v1.3.0 documentation" href="index.html" />
     <link rel="next" title="Getting Started" href="gettingstarted.html" />
     <link rel="prev" title="Welcome to python-restclient&#8217;s documentation!" href="index.html" /> 
   </head>
         <li class="right" >
           <a href="index.html" title="Welcome to python-restclient&#8217;s documentation!"
              accesskey="P">previous</a> |</li>
-        <li><a href="index.html">py-restclient v1.2 documentation</a> &raquo;</li> 
+        <li><a href="index.html">py-restclient v1.3.0 documentation</a> &raquo;</li> 
       </ul>
     </div>  
     <div class="document">
         <li class="right" >
           <a href="index.html" title="Welcome to python-restclient&#8217;s documentation!"
              accesskey="P">previous</a> |</li>
-        <li><a href="index.html">py-restclient v1.2 documentation</a> &raquo;</li> 
+        <li><a href="index.html">py-restclient v1.3.0 documentation</a> &raquo;</li> 
       </ul>
     </div>
     <div class="footer">

docs/_build/html/modindex.html

   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     
-    <title>Global Module Index &mdash; py-restclient v1.2 documentation</title>
+    <title>Global Module Index &mdash; py-restclient v1.3.0 documentation</title>
     <link rel="stylesheet" href="_static/default.css" type="text/css" />
     <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
     <script type="text/javascript">
       var DOCUMENTATION_OPTIONS = {
         URL_ROOT:    '',
-        VERSION:     '1.2',
+        VERSION:     '1.3.0',
         COLLAPSE_MODINDEX: false,
         FILE_SUFFIX: '.html',
         HAS_SOURCE:  true
     <script type="text/javascript" src="_static/doctools.js"></script>
     <link rel="index" title="Index" href="genindex.html" />
     <link rel="search" title="Search" href="search.html" />
-    <link rel="top" title="py-restclient v1.2 documentation" href="index.html" />
+    <link rel="top" title="py-restclient v1.3.0 documentation" href="index.html" />
  
 
 
         <li class="right" >
           <a href="" title="Global Module Index"
              accesskey="M">modules</a> |</li>
-        <li><a href="index.html">py-restclient v1.2 documentation</a> &raquo;</li> 
+        <li><a href="index.html">py-restclient v1.3.0 documentation</a> &raquo;</li> 
       </ul>
     </div>  
     <div class="document">
      <em></em></td></tr><tr class="cg-1">
      <td></td>
      <td>&nbsp;&nbsp;&nbsp;
+     <a href="exceptions.html#module-restclient.errors"><tt class="xref">restclient.errors</tt></a></td><td>
+     <em></em></td></tr><tr class="cg-1">
+     <td></td>
+     <td>&nbsp;&nbsp;&nbsp;
      <a href="transports.html#module-restclient.transport"><tt class="xref">restclient.transport</tt></a></td><td>
      <em></em></td></tr>
    </table>
         <li class="right" >
           <a href="" title="Global Module Index"
              accesskey="M">modules</a> |</li>
-        <li><a href="index.html">py-restclient v1.2 documentation</a> &raquo;</li> 
+        <li><a href="index.html">py-restclient v1.3.0 documentation</a> &raquo;</li> 
       </ul>
     </div>
     <div class="footer">

docs/_build/html/objects.inv

 # Sphinx inventory version 1
 # Project: py-restclient
-# Version: 1.2
+# Version: 1.3
 restclient mod resource.html
 restclient.transport mod transports.html
+restclient.errors mod exceptions.html
 restclient.rest.Resource.put method resource.html
 restclient.transport.createHTTPTransport function transports.html
 restclient.rest.RestClient.request method resource.html
 restclient.rest.Resource.get method resource.html
 restclient.rest.Resource.request method resource.html
 restclient.rest.Resource class resource.html
+restclient.errors.RequestFailed exception exceptions.html
 restclient.RestClient.transport attribute resource.html
 restclient.transport.setDefaultHTTPTransport function transports.html
 restclient.transport.HTTPResponse class transports.html
+restclient.errors.RequestError exception exceptions.html
 restclient.rest.RestClient.get method resource.html
+restclient.transport.CurlTransport.__init__ method transports.html
 restclient.rest.Resource.clone method resource.html
 restclient.Resource.transport attribute resource.html
 restclient.rest.RestClient.post method resource.html
-restclient.rest.RestClient class resource.html
+restclient.errors.TransportError exception exceptions.html
+restclient.errors.InvalidUrl exception exceptions.html
 restclient.transport.HTTPTransportBase.add_credentials method transports.html
+restclient.errors.ResourceNotFound exception exceptions.html
 restclient.rest.RestClient.delete method resource.html
 restclient.transport.HTTPLib2Transport.__init__ method transports.html
 restclient.transport.HTTPTransportBase class transports.html
-restclient.rest.Unauthorized exception resource.html
 restclient.transport.HTTPLib2Transport class transports.html
-restclient.rest.RequestFailed exception resource.html
-restclient.rest.ResourceNotFound exception resource.html
 restclient.rest.Resource.__call__ method resource.html
 restclient.rest.Resource.post method resource.html
 restclient.rest.Resource.head method resource.html
 restclient.rest.Resource.delete method resource.html
 restclient.transport.CurlTransport.add_credentials method transports.html
 restclient.transport.CurlTransport class transports.html
+restclient.errors.Unauthorized exception exceptions.html
 restclient.Resource.uri attribute resource.html
-restclient.rest.RequestError exception resource.html
-restclient.transport.CurlTransport.__init__ method transports.html
+restclient.rest.RestClient class resource.html
 restclient.rest.RestClient.head method resource.html
 restclient.transport.HTTPLib2Transport.add_credentials method transports.html
 restclient.transport.HTTPTransportBase.request method transports.html

docs/_build/html/resource.html

   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     
-    <title>Resource &mdash; py-restclient v1.2 documentation</title>
+    <title>Resource &mdash; py-restclient v1.3.0 documentation</title>
     <link rel="stylesheet" href="_static/default.css" type="text/css" />
     <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
     <script type="text/javascript">
       var DOCUMENTATION_OPTIONS = {
         URL_ROOT:    '',
-        VERSION:     '1.2',
+        VERSION:     '1.3.0',
         COLLAPSE_MODINDEX: false,
         FILE_SUFFIX: '.html',
         HAS_SOURCE:  true
     <script type="text/javascript" src="_static/doctools.js"></script>
     <link rel="index" title="Index" href="genindex.html" />
     <link rel="search" title="Search" href="search.html" />
-    <link rel="top" title="py-restclient v1.2 documentation" href="index.html" />
+    <link rel="top" title="py-restclient v1.3.0 documentation" href="index.html" />
     <link rel="next" title="HTTP Transports" href="transports.html" />
-    <link rel="prev" title="What&#8217;s New in python-restclient 1.2" href="whatsnew.html" /> 
+    <link rel="prev" title="Changes" href="whatsnew.html" /> 
   </head>
   <body>
     <div class="related">
           <a href="transports.html" title="HTTP Transports"
              accesskey="N">next</a> |</li>
         <li class="right" >
-          <a href="whatsnew.html" title="What&#8217;s New in python-restclient 1.2"
+          <a href="whatsnew.html" title="Changes"
              accesskey="P">previous</a> |</li>
-        <li><a href="index.html">py-restclient v1.2 documentation</a> &raquo;</li> 
+        <li><a href="index.html">py-restclient v1.3.0 documentation</a> &raquo;</li> 
       </ul>
     </div>  
     <div class="document">
 </dd></dl>
 
 </div>
-<div class="section" id="exceptions">
-<h2>Exceptions<a class="headerlink" href="#exceptions" title="Permalink to this headline">¶</a></h2>
-<dl class="exception">
-<dt id="restclient.rest.ResourceNotFound">
-<!--[restclient.rest.ResourceNotFound]-->exception <tt class="descclassname">restclient.rest.</tt><tt class="descname">ResourceNotFound</tt><a class="headerlink" href="#restclient.rest.ResourceNotFound" title="Permalink to this definition">¶</a></dt>
-<dd>Exception raised when no resource was found at the given url.</dd></dl>
-
-<dl class="exception">
-<dt id="restclient.rest.Unauthorized">
-<!--[restclient.rest.Unauthorized]-->exception <tt class="descclassname">restclient.rest.</tt><tt class="descname">Unauthorized</tt><a class="headerlink" href="#restclient.rest.Unauthorized" title="Permalink to this definition">¶</a></dt>
-<dd>Exception raised when an authorization is required to access to
-the resource specified.</dd></dl>
-
-<dl class="exception">
-<dt id="restclient.rest.RequestFailed">
-<!--[restclient.rest.RequestFailed]-->exception <tt class="descclassname">restclient.rest.</tt><tt class="descname">RequestFailed</tt><a class="headerlink" href="#restclient.rest.RequestFailed" title="Permalink to this definition">¶</a></dt>
-<dd><p>Exception raised when an unexpected HTTP error is received in response
-to a request.</p>
-<p>The request failed, meaning the remote HTTP server returned a code 
-other than success, unauthorized, or NotFound.</p>
-<p>The exception message attempts to extract the error</p>
-<p>You can get the status code by e.http_code, or see anything about the 
-response via e.response. For example, the entire result body (which is 
-probably an HTML error page) is e.response.body.</p>
-</dd></dl>
-
-<dl class="exception">
-<dt id="restclient.rest.RequestError">
-<!--[restclient.rest.RequestError]-->exception <tt class="descclassname">restclient.rest.</tt><tt class="descname">RequestError</tt><a class="headerlink" href="#restclient.rest.RequestError" title="Permalink to this definition">¶</a></dt>
-<dd>Exception raised when a request is malformed</dd></dl>
-
-</div>
 </div>
 
 
 <li><a class="reference external" href="">Resource</a><ul>
 <li><a class="reference external" href="#resource-class">Resource class</a></li>
 <li><a class="reference external" href="#restclient-class">RestClient class</a></li>
-<li><a class="reference external" href="#exceptions">Exceptions</a></li>
 </ul>
 </li>
 </ul>
 
             <h4>Previous topic</h4>
-            <p class="topless"><a href="whatsnew.html" title="previous chapter">What&#8217;s New in python-restclient 1.2</a></p>
+            <p class="topless"><a href="whatsnew.html" title="previous chapter">Changes</a></p>
             <h4>Next topic</h4>
             <p class="topless"><a href="transports.html" title="next chapter">HTTP Transports</a></p>
             <h3>This Page</h3>
           <a href="transports.html" title="HTTP Transports"
              accesskey="N">next</a> |</li>
         <li class="right" >
-          <a href="whatsnew.html" title="What&#8217;s New in python-restclient 1.2"
+          <a href="whatsnew.html" title="Changes"
              accesskey="P">previous</a> |</li>
-        <li><a href="index.html">py-restclient v1.2 documentation</a> &raquo;</li> 
+        <li><a href="index.html">py-restclient v1.3.0 documentation</a> &raquo;</li> 
       </ul>
     </div>
     <div class="footer">

docs/_build/html/search.html

   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     
-    <title>Search &mdash; py-restclient v1.2 documentation</title>
+    <title>Search &mdash; py-restclient v1.3.0 documentation</title>
     <link rel="stylesheet" href="_static/default.css" type="text/css" />
     <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
     <script type="text/javascript">
       var DOCUMENTATION_OPTIONS = {
         URL_ROOT:    '',
-        VERSION:     '1.2',
+        VERSION:     '1.3.0',
         COLLAPSE_MODINDEX: false,
         FILE_SUFFIX: '.html',
         HAS_SOURCE:  true
     <script type="text/javascript" src="_static/searchtools.js"></script>
     <link rel="index" title="Index" href="genindex.html" />
     <link rel="search" title="Search" href="" />
-    <link rel="top" title="py-restclient v1.2 documentation" href="index.html" /> 
+    <link rel="top" title="py-restclient v1.3.0 documentation" href="index.html" /> 
   </head>
   <body>
     <div class="related">
         <li class="right" >
           <a href="modindex.html" title="Global Module Index"
              accesskey="M">modules</a> |</li>
-        <li><a href="index.html">py-restclient v1.2 documentation</a> &raquo;</li> 
+        <li><a href="index.html">py-restclient v1.3.0 documentation</a> &raquo;</li> 
       </ul>
     </div>  
     <div class="document">
         <li class="right" >
           <a href="modindex.html" title="Global Module Index"
              accesskey="M">modules</a> |</li>
-        <li><a href="index.html">py-restclient v1.2 documentation</a> &raquo;</li> 
+        <li><a href="index.html">py-restclient v1.3.0 documentation</a> &raquo;</li> 
       </ul>
     </div>
   

docs/_build/html/searchindex.js

-Search.setIndex({desctypes:{"0":"method","1":"function","2":"class","3":"attribute","4":"exception"},terms:{all:[5,1],code:[0,1],friedpast:[],follow:3,make_request:0,decid:[3,1],depend:1,send:4,program:4,sourc:[3,2],string:[1,4],httptransport:6,brows:3,list:1,item:5,direct:3,proxy_password:6,past:[1,0,4],pass:1,port:4,index:3,what:[3,5],sun:5,pypast:1,access:[6,1],delet:[3,1,6],version:[2,4],"new":[3,1,5],requesterror:1,"public":3,full:[1,4],unauthor:1,here:6,bodi:[6,1],proxy_us:6,path:[1,2],method:[1,4,6],modifi:5,valu:4,optionn:[6,1],search:3,later:2,user_timelin:4,action:[3,1],chang:1,via:[1,2,6],modul:[0,1,3],prefer:6,releas:2,api:[0,1],encode_kei:1,instal:[1,0,2,3],feb:5,call:[0,1,6,3],type:[5,4,6],more:6,indic:3,cheeseshop:2,recommand:6,cach:6,none:[6,1],pycurl:[6,1],setup:2,dev:2,can:[1,3,2,6],dec:[3,5],root:3,aliv:5,overrid:1,malform:1,quickstart:3,createhttptransport:6,sudo:2,accept:[1,0,4,5],want:[0,1,6],alwai:2,anoth:[],charset:1,snippet:[1,4],subdirectori:2,simpl:[3,1],restcli:4,resourc:[5,0,1,6,3],proxy_info:6,clone:[1,2],constructor:6,befor:[],mai:1,authentif:[6,1],data:[5,1],final_url:5,attempt:1,perform:[1,0,4,6,3],allow:4,help:4,over:1,through:[0,3],mainli:0,paramet:[6,1],style:3,fix:[3,5],"return":[6,1],python:[5,0,2,3],safe:1,httplib2:[1,2,6],now:5,httplib:6,name:4,benoitc:[2,4],authent:1,timeout:6,found:1,unicod:5,mean:1,pthon:2,connect:[5,6],our:[3,2],extract:1,rev:4,content:[5,4,6],rewrit:[],adapt:3,print:[0,5],proxi:[1,4,6],given:1,like:[3,4,6,5],base:[6,1],byth:[],put:[3,1,6],org:[5,2,6],"byte":5,friendpast:[1,0,4],could:[1,2,5],keep:5,length:5,isn:[],oper:6,rang:5,headput:[],number:4,date:5,least:3,payload:1,alternatli:2,start:[0,3],messag:[1,4,6],mercuri:2,master:3,curltransport:6,consol:[3,4],option:[1,4],copi:2,setuptool:2,specifi:[3,1],than:[6,1],serv:1,notfound:1,provid:1,remov:[],charact:1,project:3,str:[6,1],update_uri:1,anywher:2,packag:2,have:[0,6,5],tabl:3,need:[1,2,4,3],unexpect:1,sinatra:3,client:[0,1,3,4,5,6],which:[6,1],command:[2,4],simplifi:[],though:6,usernam:4,setdefaulthttptransport:6,object:[5,1,6],most:2,"class":[3,1],don:1,url:[1,4,6,5],doc:0,camp:3,request:[1,0,4,6],uri:[1,4],multimedia:3,show:4,text:[1,4,6,5],actuib:6,transport:[3,1,6],xml:1,absolut:1,onli:1,should:[3,6],dict:[5,1,6],"__call__":1,get:[0,1,2,3,4,5,6],report:3,requir:[1,3,2],patch:6,remot:1,stuff:4,common:1,contain:3,set:[6,1],transportthat:6,httplib2transport:[6,1],see:[5,1,6],result:[1,4],respons:[3,1,6,5],fail:1,statu:[1,4,6,5],simplecouchdb:2,charat:1,someth:6,urllib:6,"import":[0,1,6,5],email:6,altern:2,kei:[1,0,4],engura:[5,2,6],fisrt:3,proxy_port:6,entir:1,last:[5,2],wed:[3,5],instanc:[6,1],com:[1,0,4],instanti:1,inspir:3,header:[1,0,4,6,5],resr2:1,been:[5,6],json:[1,0,4],basic:[6,1],imag:6,ani:[1,4,6],resourceresult:[],requestfail:1,"case":6,properti:1,defin:1,error:1,site:2,getdefaulthttptransport:6,revis:1,"__init__":6,develop:[3,2],welcom:[3,6],author:1,receiv:1,make:[1,3,2],same:[],binari:5,html:[5,1,6],resourcenotfound:1,document:[0,3],complet:3,status:4,http:[0,1,2,3,4,5,6],utf8:1,rais:1,user:6,implement:6,recent:2,exampl:[1,0,4,6,3],add_credenti:6,thi:[0,1,2,3,4,5,6],choos:6,everyth:3,http_code:[0,1],pollen:4,rest:[0,1,3],"__dict__":5,yet:0,languag:[1,4],httptransportbas:[6,1],"1po5toc012qefyos3b3raa":4,expos:0,proxy_host:6,except:[3,1],param:[6,1],add:1,tring:1,input:4,gmt:5,real:5,applic:[1,0,4],read:[0,4],nginx:5,know:3,httprespons:[5,6],restclient:[0,1,2,3,4,5,6],specif:6,success:1,filenam:4,anyth:1,server:[5,1],output:4,page:[5,0,1,6,3],twitter:4,some:6,back:4,enki:3,toctre:3,librari:0,tmp:4,subclass:1,tracker:3,exit:4,refer:3,"3xdqq8g83llzvwgcewdwru":1,htpp:6,usag:[1,0,4,3],symlink:2,step:3,repositori:2,from:[0,1,2,5,4,6],post:[1,3,4,6],about:[3,1],manag:[5,6],microframework:3,act:5,own:[1,4],additionn:1,pythonpath:2,encod:[3,1,5],easy_instal:2,your:[1,2,4,3],support:[0,1,6,3],fast:6,avail:[2,4],gif:6,interfac:[6,1],includ:1,httpclient:[6,1],"function":[3,6],head:[3,1,6],form:4,renam:[],line:4,"true":[1,4],bug:3,info:6,also:[5,2,6],made:3,utf:1,"default":[6,1],xxxxxxx:[6,4],"5roqe9xtz7lcclgzoqs4ip":[0,1],featur:[0,3],creat:[3,4,6],"int":6,repres:[6,1],file:[1,3,4],logo:6,curl:[5,6],probabl:1,password:[6,4],titl:[1,4],when:[6,1],other:1,tutorial:0,test:[1,4,6],you:[0,1,2,3,4,5,6],urllib2:[6,1],bitbucket:[3,2],sphinx:3,directori:2,descript:[0,1],depth:0,time:4,parameterss:1},titles:["Getting Started","Resource","Installation","Welcome to python-restclient&#8217;s documentation!","Console client","What&#8217;s New in python-restclient 1.2","HTTP Transports"],modules:{restclient:1,"restclient.transport":6},descrefs:{"restclient.RestClient":{transport:[1,3]},"restclient.transport.CurlTransport":{add_credentials:[6,0],"__init__":[6,0]},"restclient.transport.HTTPLib2Transport":{add_credentials:[6,0],"__init__":[6,0]},"restclient.Resource":{uri:[1,3],transport:[1,3]},"restclient.rest.Resource":{head:[1,0],get:[1,0],clone:[1,0],request:[1,0],"__call__":[1,0],put:[1,0],post:[1,0],update_uri:[1,0],"delete":[1,0]},"restclient.rest.RestClient":{head:[1,0],get:[1,0],request:[1,0],put:[1,0],post:[1,0],"delete":[1,0]},"restclient.transport.HTTPTransportBase":{add_credentials:[6,0],request:[6,0],"__init__":[6,0]},"restclient.rest":{Resource:[1,2],RestClient:[1,2],Unauthorized:[1,4],ResourceNotFound:[1,4],RequestError:[1,4],RequestFailed:[1,4]},"restclient.transport":{createHTTPTransport:[6,1],setDefaultHTTPTransport:[6,1],HTTPLib2Transport:[6,2],getDefaultHTTPTransport:[6,1],HTTPResponse:[6,2],CurlTransport:[6,2],HTTPTransportBase:[6,2]}},filenames:["gettingstarted","resource","installation","index","console","whatsnew","transports"]})
+Search.setIndex({desctypes:{"0":"method","1":"function","2":"class","3":"exception","4":"attribute"},terms:{all:[6,1],code:[5,0,6],follow:3,make_request:0,decid:[3,1],depend:1,send:4,program:4,sourc:[3,2],string:[6,1,4],httptransport:7,brows:3,list:1,item:6,direct:3,proxy_password:7,past:[0,1,4],pass:1,port:4,index:3,sun:6,pypast:1,access:[5,7,1],delet:[3,1,7],version:[4,2],"new":[6,1],requesterror:5,"public":3,full:[4,1],unauthor:5,here:7,bodi:[5,6,1,7],proxy_us:7,path:[2,1],modifi:6,valu:4,optionn:[7,1],search:3,user_timelin:4,action:[3,1],chang:[3,1,6],via:[5,7,2],modul:[0,1,3],prefer:7,releas:2,api:[0,1],encode_kei:1,instal:[0,1,2,3],feb:6,invalidurl:5,call:[0,1,7,3],type:[6,4,7],more:7,indic:3,cheeseshop:2,recommand:7,cach:7,none:[7,1],pycurl:[7,1],setup:2,dev:2,can:[5,2,1,7,3],dec:[3,6],root:3,aliv:6,overrid:1,malform:5,quickstart:3,createhttptransport:7,sudo:2,accept:[0,4,1,6],want:[0,1,7],alwai:2,charset:1,snippet:[4,1],subdirectori:2,simpl:[3,1],restcli:4,resourc:[0,1,3,5,6,7],proxy_info:7,clone:[2,1],constructor:7,date:6,authentif:[7,1],data:[6,1],final_url:6,attempt:5,perform:[0,4,1,7,3],allow:4,help:4,over:1,through:[0,3],mainli:0,paramet:[7,1],style:3,fix:[3,6],split:6,"return":[5,7,1],python:[0,2,3],safe:1,httplib2:[2,1,7],now:6,httplib:7,restclient:[0,1,2,3,4,5,6,7],benoitc:[4,2],authent:1,timeout:[6,7],found:5,unicod:6,mean:5,pthon:2,connect:[6,7],logo:7,extract:5,rev:4,content:[6,4,7],method:[4,1,7],adapt:3,print:[0,6],proxi:[4,1,7],given:5,like:[3,4,7,6],base:[7,1],put:[3,1,7],org:[6,2,7],"byte":6,friendpast:[0,1,4],could:[2,1,6],keep:6,length:6,oper:7,softwar:5,rang:6,number:4,mai:1,messag:[5,7,4],payload:1,size:6,alternatli:2,start:[0,3],least:3,mercuri:2,master:3,curltransport:7,consol:[3,4],option:[4,1],copi:2,setuptool:2,specifi:[5,3],than:[5,7],serv:1,notfound:5,remot:5,charact:1,project:3,str:[7,1],update_uri:1,anywher:2,packag:2,have:[0,7,6],tabl:3,need:[2,4,1,3],featur:[0,3],unexpect:5,also:[6,2,7],client:[0,4,3,1,6,7],which:[5,7,1],command:[4,2],though:7,usernam:4,setdefaulthttptransport:7,object:[6,1,7],most:2,simplecouchdb:2,"class":[3,1],don:1,url:[5,6,1,7,4],doc:0,camp:3,request:[5,0,1,7,4],uri:[4,1],multimedia:3,show:4,text:[6,1,7,4],actuib:7,transport:[5,3,1,7,6],xml:1,absolut:1,onli:1,should:[3,7],dict:[6,1,7],"__call__":1,get:[0,1,2,3,4,5,6,7],report:3,requir:[5,3,2],patch:7,provid:1,stuff:4,common:1,contain:3,set:[7,1],transportthat:7,httplib2transport:[7,1],see:[5,6,1,7],result:[5,4],respons:[5,3,7,6],fail:5,statu:[5,6,4,7],detect:6,charat:1,someth:7,urllib:7,"import":[0,1,7,6],email:7,altern:2,kei:[0,1,4],engura:[6,2,7],fisrt:3,proxy_port:7,entir:5,last:[6,2],wed:[3,6],instanc:[7,1],com:[0,1,4],instanti:1,inspir:3,header:[0,4,1,7,6],resr2:1,been:[6,7],json:[0,1,4],basic:[7,1],imag:7,ani:[4,1,7],requestfail:5,"case":7,properti:1,defin:1,error:[5,6],site:2,getdefaulthttptransport:7,revis:1,"__init__":7,develop:[3,2],welcom:[3,7],author:5,receiv:5,make:[2,1,3],binari:6,html:[5,6,7],resourcenotfound:5,document:[0,3],complet:3,status:4,http:[0,1,2,3,4,5,6,7],utf8:1,rais:5,user:7,implement:7,recent:2,exampl:[0,4,3,5,1,7],add_credenti:7,thi:[0,1,2,3,4,5,6,7],choos:7,everyth:3,http_code:[5,0,1],pollen:4,rest:[0,1,3],transporterror:5,"__dict__":6,yet:0,languag:[4,1],httptransportbas:[7,1],"1po5toc012qefyos3b3raa":4,expos:0,proxy_host:7,except:[5,3,6],param:[7,1],add:1,valid:5,tring:1,input:4,gmt:6,real:6,applic:[0,1,4],read:[0,4],nginx:6,know:3,httprespons:[6,7],name:4,success:5,specif:7,filenam:4,anyth:5,server:[5,6,1],output:4,manag:[6,7],twitter:4,some:[6,7],back:4,enki:3,toctre:3,librari:0,tmp:4,subclass:1,tracker:3,exit:4,refer:3,"3xdqq8g83llzvwgcewdwru":1,htpp:7,usag:[0,4,1,3],symlink:2,step:3,repositori:2,from:[0,4,2,6,1,7],post:[3,1,7,4],about:[5,3,1],page:[0,1,3,5,6,7],microframework:3,act:6,own:[4,1],additionn:1,pythonpath:2,encod:[3,1,6],easy_instal:2,your:[2,4,1,3],support:[0,1,7,3],fast:7,avail:[4,2],gif:7,interfac:[7,1],includ:1,httpclient:[7,1],"function":[3,7],head:[3,1,7],form:4,line:4,"true":[4,1],bug:3,info:7,made:3,utf:1,"default":[6,1,7],xxxxxxx:[7,4],"5roqe9xtz7lcclgzoqs4ip":[0,1],later:2,creat:[3,4,7],"int":7,repres:[7,1],file:[3,4,1,6],our:[3,2],curl:[6,7],probabl:5,sinatra:3,password:[7,4],titl:[4,1],when:[5,7,1],refactor:6,other:5,tutorial:0,test:[4,1,7],you:[0,1,2,3,4,5,6,7],urllib2:[7,1],bitbucket:[3,2],sphinx:3,directori:2,descript:[0,1],depth:0,time:4,parameterss:1},titles:["Getting Started","Resource","Installation","Welcome to python-restclient&#8217;s documentation!","Console client","Exceptions","Changes","HTTP Transports"],modules:{restclient:1,"restclient.transport":7,"restclient.errors":5},descrefs:{"restclient.RestClient":{transport:[1,4]},"restclient.transport.CurlTransport":{add_credentials:[7,0],"__init__":[7,0]},"restclient.transport.HTTPLib2Transport":{add_credentials:[7,0],"__init__":[7,0]},"restclient.errors":{Unauthorized:[5,3],InvalidUrl:[5,3],ResourceNotFound:[5,3],RequestError:[5,3],RequestFailed:[5,3],TransportError:[5,3]},"restclient.Resource":{uri:[1,4],transport:[1,4]},"restclient.rest.Resource":{head:[1,0],get:[1,0],clone:[1,0],request:[1,0],"__call__":[1,0],put:[1,0],post:[1,0],update_uri:[1,0],"delete":[1,0]},"restclient.rest.RestClient":{head:[1,0],get:[1,0],request:[1,0],put:[1,0],post:[1,0],"delete":[1,0]},"restclient.transport.HTTPTransportBase":{add_credentials:[7,0],request:[7,0],"__init__":[7,0]},"restclient.rest":{Resource:[1,2],RestClient:[1,2]},"restclient.transport":{createHTTPTransport:[7,1],setDefaultHTTPTransport:[7,1],HTTPLib2Transport:[7,2],getDefaultHTTPTransport:[7,1],HTTPResponse:[7,2],CurlTransport:[7,2],HTTPTransportBase:[7,2]}},filenames:["gettingstarted","resource","installation","index","console","exceptions","whatsnew","transports"]})

docs/_build/html/transports.html

   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     
-    <title>HTTP Transports &mdash; py-restclient v1.2 documentation</title>
+    <title>HTTP Transports &mdash; py-restclient v1.3.0 documentation</title>
     <link rel="stylesheet" href="_static/default.css" type="text/css" />
     <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
     <script type="text/javascript">
       var DOCUMENTATION_OPTIONS = {
         URL_ROOT:    '',
-        VERSION:     '1.2',
+        VERSION:     '1.3.0',
         COLLAPSE_MODINDEX: false,
         FILE_SUFFIX: '.html',
         HAS_SOURCE:  true
     <script type="text/javascript" src="_static/doctools.js"></script>
     <link rel="index" title="Index" href="genindex.html" />
     <link rel="search" title="Search" href="search.html" />
-    <link rel="top" title="py-restclient v1.2 documentation" href="index.html" />
+    <link rel="top" title="py-restclient v1.3.0 documentation" href="index.html" />
+    <link rel="next" title="Exceptions" href="exceptions.html" />
     <link rel="prev" title="Resource" href="resource.html" /> 
   </head>
   <body>
           <a href="modindex.html" title="Global Module Index"
              accesskey="M">modules</a> |</li>
         <li class="right" >
+          <a href="exceptions.html" title="Exceptions"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
           <a href="resource.html" title="Resource"
              accesskey="P">previous</a> |</li>
-        <li><a href="index.html">py-restclient v1.2 documentation</a> &raquo;</li> 
+        <li><a href="index.html">py-restclient v1.3.0 documentation</a> &raquo;</li> 
       </ul>
     </div>  
     <div class="document">
 
             <h4>Previous topic</h4>
             <p class="topless"><a href="resource.html" title="previous chapter">Resource</a></p>
+            <h4>Next topic</h4>
+            <p class="topless"><a href="exceptions.html" title="next chapter">Exceptions</a></p>
             <h3>This Page</h3>
             <ul class="this-page-menu">
               <li><a href="_sources/transports.txt">Show Source</a></li>
           <a href="modindex.html" title="Global Module Index"
              accesskey="M">modules</a> |</li>
         <li class="right" >
+          <a href="exceptions.html" title="Exceptions"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
           <a href="resource.html" title="Resource"
              accesskey="P">previous</a> |</li>
-        <li><a href="index.html">py-restclient v1.2 documentation</a> &raquo;</li> 
+        <li><a href="index.html">py-restclient v1.3.0 documentation</a> &raquo;</li> 
       </ul>
     </div>
     <div class="footer">

docs/_build/html/whatsnew.html

   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     
-    <title>What&#8217;s New in python-restclient 1.2 &mdash; py-restclient v1.2 documentation</title>
+    <title>Changes &mdash; py-restclient v1.3.0 documentation</title>
     <link rel="stylesheet" href="_static/default.css" type="text/css" />
     <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
     <script type="text/javascript">
       var DOCUMENTATION_OPTIONS = {
         URL_ROOT:    '',
-        VERSION:     '1.2',
+        VERSION:     '1.3.0',
         COLLAPSE_MODINDEX: false,
         FILE_SUFFIX: '.html',
         HAS_SOURCE:  true
     <script type="text/javascript" src="_static/doctools.js"></script>
     <link rel="index" title="Index" href="genindex.html" />
     <link rel="search" title="Search" href="search.html" />
-    <link rel="top" title="py-restclient v1.2 documentation" href="index.html" />
+    <link rel="top" title="py-restclient v1.3.0 documentation" href="index.html" />
     <link rel="next" title="Resource" href="resource.html" />
     <link rel="prev" title="Console client" href="console.html" /> 
   </head>
         <li class="right" >
           <a href="console.html" title="Console client"
              accesskey="P">previous</a> |</li>
-        <li><a href="index.html">py-restclient v1.2 documentation</a> &raquo;</li> 
+        <li><a href="index.html">py-restclient v1.3.0 documentation</a> &raquo;</li> 
       </ul>
     </div>  
     <div class="document">
           <div class="body">
             
   
-  <div class="section" id="what-s-new-in-python-restclient-1-2">
-<span id="whatsnew"></span><h1>What&#8217;s New in python-restclient 1.2<a class="headerlink" href="#what-s-new-in-python-restclient-1-2" title="Permalink to this headline">¶</a></h1>
+  <div class="section" id="changes">
+<span id="whatsnew"></span><h1>Changes<a class="headerlink" href="#changes" title="Permalink to this headline">¶</a></h1>
+<div class="section" id="id1">
+<h2>1.3<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
+<ul class="simple">
+<li>Detection of file size &amp; type if body object is a file object. Also fix Content-Length for strings</li>
+<li>Code have been refactored. All exceptions are now in <a title="" class="reference external" href="exceptions.html#module-restclient.errors"><tt class="xref docutils literal"><span class="pre">restclient.errors</span></tt></a>. All transports have been splitted in <a title="" class="reference external" href="transports.html#module-restclient.transport"><tt class="xref docutils literal"><span class="pre">restclient.transport</span></tt></a></li>
+<li>curl transport default timeout is now 0.</li>
+<li>some fixes</li>
+</ul>
+</div>
+<div class="section" id="id2">
+<h2>1.2<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
+</div>
 <div class="section" id="encoding">
 <h2>Encoding:<a class="headerlink" href="#encoding" title="Permalink to this headline">¶</a></h2>
 <ul class="simple">
         <div class="sphinxsidebarwrapper">
             <h3><a href="index.html">Table Of Contents</a></h3>
             <ul>
-<li><a class="reference external" href="">What&#8217;s New in python-restclient 1.2</a><ul>
+<li><a class="reference external" href="">Changes</a><ul>
+<li><a class="reference external" href="#id1">1.3</a></li>
+<li><a class="reference external" href="#id2">1.2</a></li>
 <li><a class="reference external" href="#encoding">Encoding:</a></li>
 <li><a class="reference external" href="#fixes">Fixes:</a></li>
 </ul>
         <li class="right" >
           <a href="console.html" title="Console client"
              accesskey="P">previous</a> |</li>
-        <li><a href="index.html">py-restclient v1.2 documentation</a> &raquo;</li> 
+        <li><a href="index.html">py-restclient v1.3.0 documentation</a> &raquo;</li> 
       </ul>
     </div>
     <div class="footer">