Total newbie here - have a quick question
I have a script that takes data in a flat text file, breaks it up and builds a
CouchDB with all my data - however during the loop in which the data is loaded
into couchdb - I sometimes get crashes becuase of a duplicate Document ID
(which in my case is the serial number of a product)
i was wondering if it is possible to;
1. capture the HTTP status code for each post
2. write logic around that code (such as "skip post if error code was a 409")
thanks in advance
--
http://mail.python.org/mailman/listinfo/python-list