From user-return-22099-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Wed Sep 12 21:09:50 2012 Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 151B3DEBE for ; Wed, 12 Sep 2012 21:09:50 +0000 (UTC) Received: (qmail 83215 invoked by uid 500); 12 Sep 2012 21:09:48 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 83179 invoked by uid 500); 12 Sep 2012 21:09:48 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 83145 invoked by uid 99); 12 Sep 2012 21:09:48 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Sep 2012 21:09:48 +0000 Received: from localhost (HELO [192.168.1.5]) (127.0.0.1) (smtp-auth username rnewson, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Sep 2012 21:09:48 +0000 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1278) Subject: Re: update a document and leave the attachment identical From: Robert Newson In-Reply-To: <5050E2E6.7060701@bardubitzki.com> Date: Wed, 12 Sep 2012 22:09:45 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <5050E2E6.7060701@bardubitzki.com> To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1278) 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 >=20 > = http://stackoverflow.com/questions/8494424/couchdb-update-metadata-on-a-do= cument-with-attachments >=20 > adding the attachment meta data should do the trick, however, I get = 500 error. =46rom the couchdb (v1.2 on IrisCouch) log: >=20 > https://gist.github.com/3708903 >=20 > Although, I'm using the node nano module it seem to be a couchdb issue >=20 > https://github.com/dscape/nano/issues/101 >=20 > Could someone please shed some light on that? >=20 > Thanks, >=20 > Stephan >=20 >=20