This is a fix that should've been included in 0.9.1
Previous behaviour caused all requests to get same HTTPHeaders instance. This caused problems with long polling changes feed when using filters, as the CouchDB received Content-Length in some cases and hang.
The bug is related to timing issues where long polling changes feed on Mac OS X does not return any documents which are added immediately after opening the changes feed.
For some reason, the list test keeps failing, so it has been removed for now.
A custom JSON encoder can be defined to override the default json.JSONEncoder on Database.set. Note that the only place currently using custom encoder is Database.set and it is not (yet) used elsewhere.
This adds error handling to Document.attach and Document.delete. Fixes GH-11
Passing it before was possible too, but the implementation relied on the timeout set by CouchDB. This implementation also attaches the timeout to the client.
…st (where it should have been in the first place)
…it back to the calling function if received
… error checking
…ect it's purpose
…ibute name change
Thanks to akheron for spotting a possible situation where we could end up calling the callback twice.
Thanks to akheron for spotting the previous non-working fix for the problem.
…nts from CouchDB views.
Preceeding the upcoming release of Trombi 0.9, drop support for deprecated feature _as_dict.