incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick North <>
Subject Re: multipart/related attachments
Date Sat, 17 May 2014 03:54:53 GMT
It definitely doesn't handle chunked data encoding for multipart requests at the moment. That's
in my as-yet-unmerged patch, so I really must go and fix the error it causes so that I can
merge it.


> On 16 May 2014, at 02:57, Jens Alfke <> wrote:
>> On May 14, 2014, at 5:48 AM, Rian R. Maloney <> wrote:
>> Unfortunately nothing is logged in Couch and eventually my socket program will timeout.
If I add a content-length header, then couchdb will log an error but the documented example
does not include a content-length so I have removed it.
> Your client library be using chunked mode to send the body if you don’t give it a content
length. And I believe CouchDB doesn’t handle multipart data with chunked encoding … IIRC
my co-worker Traun had a lot of trouble with this a month or two ago.
> tl;dr you may need to specify a Content-Length header to get this to work.
> —Jens

View raw message