couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Metson <simonmet...@googlemail.com>
Subject Re: standalone attachments and content-encoding header
Date Tue, 23 Mar 2010 09:33:08 GMT
Hi,

>> That would happen only if the attachment is streamed with a chunked  
>> transfer
>> encoding request (that i.e. no content-length header in the upload  
>> request).
>
> I thought content-length referred to the actual number of bytes  
> transferred
> (i.e. the encoded form), not the original uncompressed object? So to  
> get the
> "real" size you'd have to decompress anyway?

Yup: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13

Mime
View raw message