incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Gabriel <a...@barbalex.ch>
Subject Re: Multipart vs chunked
Date Tue, 07 Feb 2012 01:49:39 GMT
Thanks a lot!
Alex




2012/2/6 Jens Alfke <jens@couchbase.com>

>
> On Feb 6, 2012, at 11:19 AM, Alexander Gabriel wrote:
>
> oh, I spent my last weekend trying to get a multipart upload working
> unsuccessfully too. Is it possible to see when this problem has been
> solved?
>
> You can track the bug report I just filed:
> https://issues.apache.org/jira/browse/COUCHDB-1403
>
> Or else: How is body length precomputed then communicated?
>
> Not sure exactly what you mean; in my case I worked around the bug by
> computing the body length (by adding up the sizes of the attachment files
> and MIME boundary strings) then set that as a Content-Length header on the
> request; this tells the HTTP library I use (NSURLConnection on Mac OS) not
> to use chunked encoding.
>
> —Jens
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message