incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Shorin <kxe...@gmail.com>
Subject Re: Uploading attachments using Multipart/related
Date Tue, 25 Mar 2014 08:49:15 GMT
Hi,

Could you show your curl command for upload?
--
,,,^..^,,,


On Tue, Mar 25, 2014 at 12:45 PM, JC de Villa <jc.devilla@gmail.com> 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

Mime
View raw message