incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <rnew...@apache.org>
Subject Re: update a document and leave the attachment identical
Date Wed, 12 Sep 2012 21:09:45 GMT

It's not clear what you're sending, can you show the full http request?

You only need to send stubs btw: https://wiki.apache.org/couchdb/HTTP_Document_API#Inline_Attachments

B.

On 12 Sep 2012, at 20:30, Stephan Bardubitzki wrote:

> According to this thread
> 
> http://stackoverflow.com/questions/8494424/couchdb-update-metadata-on-a-document-with-attachments
> 
> adding the attachment meta data should do the trick, however, I get 500 error.  From
the couchdb (v1.2 on IrisCouch) log:
> 
> https://gist.github.com/3708903
> 
> Although, I'm using the node nano module it seem to be a couchdb issue
> 
> https://github.com/dscape/nano/issues/101
> 
> Could someone please shed some light on that?
> 
> Thanks,
> 
> Stephan
> 
> 


Mime
View raw message