Issues with CoreFoundation chunked requests (iPhoneOS 2.x / OS 10.5.x) and Apache / mod_proxy

A comment was made in my previous article, stating that the “c” of “chunked” in the Transfer-Encoding: chunked header is similarly capitalised in Mac OS 10.5.5, which means that the flaw in Apache’s mod_proxy is exposed by more than just the iPhone.

So if you’re trying to do chunked HTTP POST requests using the CFNetwork stack, make sure your Apache configuration can deal with the chunked header:

RequestHeader edit Transfer-Encoding Chunked chunked early