On Fri, Jun 19, 2009 at 6:45 AM, Charles
Brooking<[email protected]> wrote:
> A month ago I wrote about how uploads from the Mac WebDAV client were
> mysteriously resulting in 0 byte files. I've revisited this and discovered
> that the problem occurs when using an Apache proxy.
>
> The Mac client sends HTTP messages with a "Transfer-Encoding: Chunked"
> header, but Apache expects "chunked" (lowercase) and decides it isn't
> supported. To make Apache also handle "Chunked", you can use mod_headers:
>
>  ProxyPass        / http://localhost:8080/
>  ProxyPassReverse / http://localhost:8080/
>  RequestHeader edit Transfer-Encoding Chunked chunked early
>
> (I think the Mac client is wrong here - although HTTP header names are
> case-insensitive, I don't believe the same applies to header values. In
> any case, this workaround is harmless.)
>
> Hopefully this will help someone.

Thanks for providing this info!

Regards,
Alex

-- 
Alexander Klimetschek
[email protected]

Reply via email to