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 5A4BC10027 for ; Tue, 25 Mar 2014 08:49:43 +0000 (UTC) Received: (qmail 23642 invoked by uid 500); 25 Mar 2014 08:49:41 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 23613 invoked by uid 500); 25 Mar 2014 08:49:40 -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 23605 invoked by uid 99); 25 Mar 2014 08:49:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Mar 2014 08:49:40 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kxepal@gmail.com designates 209.85.220.176 as permitted sender) Received: from [209.85.220.176] (HELO mail-vc0-f176.google.com) (209.85.220.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Mar 2014 08:49:36 +0000 Received: by mail-vc0-f176.google.com with SMTP id lc6so160189vcb.35 for ; Tue, 25 Mar 2014 01:49:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=3fRH6Um/yvecqZ4Jk02AoV8s/pAYBpE4eYJ49v5gQi0=; b=MJN+OXFFPWm3oxPwJPT335S0FLikdYn+ZJY1eybvjDynZtNCmwO0KLLcWrluB5x084 D3HhmbxDnSbBLz/OOaO6WeIGGDeWU/OkwA/pSdxlxCwf6oGpTHYeoJYbqrhz8iSW0AwJ KYulAsCwiUvGL+rIbruYu9OF+Y524Wz4yiLR/00awCjFtSpvC2h8OxzZ9jkd355CvFJq YFFaAG+zgG8DmqBR4hQz3emOm+ZtrmCWRda5szrxkLUwhM7bLcjXdZW8wtWSy2lQLQuH WXBNYa/68n3Xur8yLe6hUr6RqYGqvDusHvxvls0Rk5zbcOuG4gO3c5//MzkBr8XarZt1 XZXA== MIME-Version: 1.0 X-Received: by 10.220.81.194 with SMTP id y2mr141723vck.29.1395737355431; Tue, 25 Mar 2014 01:49:15 -0700 (PDT) Received: by 10.220.246.202 with HTTP; Tue, 25 Mar 2014 01:49:15 -0700 (PDT) In-Reply-To: References: Date: Tue, 25 Mar 2014 12:49:15 +0400 Message-ID: Subject: Re: Uploading attachments using Multipart/related From: Alexander Shorin To: "user@couchdb.apache.org" Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Hi, Could you show your curl command for upload? -- ,,,^..^,,, On Tue, Mar 25, 2014 at 12:45 PM, JC de Villa wrote: > Hi guys, > > I'm playing with multiple attachments using multipart/related as explained > in > > http://docs.couchdb.org/en/latest/api/document/common.html#creating-multiple-attachments > > I wind up with the error below > > [Tue, 25 Mar 2014 08:33:59 GMT] [error] [emulator] Error in process > <0.28322.2> with exit value: {{nocatch,<<18 > bytes>>},[{couch_httpd_db,receive_request_data,2},{couch_httpd,read_until,3},{couch_httpd,parse_part_header,1},{couch_httpd,parse_multipart_request,3},{couch_doc,'-doc_from_multi_part_stream/2-fun-1-',3}]} > > This is on couchdb 1.5, on ubuntu 12.04 server, using curl from CLI. > > Considering how simple the example is, I'm completely at a loss as to why I > can't even get that to work. > > Any help would be appreciated. > > -- > JC de Villa