On Fri, Jul 5, 2013 at 11:00 AM, Ivan Zhakov <i...@visualsvn.com> wrote: >... > Serf-trunk now has serf_bucket_get_remaining() to get length of > request body since r2008. Attached patch enables this functionality in > ra_serf. Within this patch Content-Length will be send for every > request for no cost and should make proxies (and servers) happy.
To be clear: it will use C-L given the current set of buckets used in ra_serf. Not all buckets can determine their length, and if one of those ever gets used ... a chunked request will occur. Cheers, -g