cloudant-labs / cloudant-python

Asynchronous Cloudant / CouchDB interface for Python
http://cloudant-labs.github.io/cloudant-python/
37 stars 17 forks source link

raise_for_status on document merge #27

Closed ksnavely closed 10 years ago

ksnavely commented 10 years ago

See here. We've guarded against 404s however couchdb/cloudant will return error JSON for other statuses as well. Use raise_for_status to prevent subsequent in/upsert with merged error JSON.

ksnavely commented 10 years ago

Forgot that opening a PR opens an issue >.<