dscape/nano — Issue #45: Couch returning 409's
Author: xsyn
Created: 2011-12-07 06:48:25+00:00
State: open

I've read through the documentation, and I may be doing this wrong, but when I try to insert an image, from file, into a currently existing document and I do:

```javascript
fs.createReadStream(doc.image.path).pipe(
db.attachment.insert(doc._id, doc.image.name, {}, doc.image.mime)
);
````

I get back a 409 from couchdb, am I implementing this incorrectly?