ReST-ful (Representational State Transfer) interface to CouchDB server.
Uses a httpclient session and provides method APIs for rest of the
couchpy modules. If http-header Accept has only application/json as
the value, then reponse data will automatically be converted from json to
python object.
Constructor arugments,
- url,
- base url to be used to compose full resource-url. url can contain
credential information as <username>:<password>
- htsess,
- HttpSession object for clientside connection. If not supplied, a
new instance will be created and remembered until this instance gets
garbage-collected.
- headers,
- Dictionary of http-headers that will be used for all http-request
made my this object. The header fields supplied here are overridable
via method APIs (in Client, Database and Document instances).