On Jun 21, 2013 10:36 AM, "Ivan Zhakov" <i...@visualsvn.com> wrote: >.... > >> Problem with this approach that some servers may support HTTP/1.1 > >> partially. I.e. declare them as HTTP/1.1 but do not support chunked > >> Transfer-Encoding. > > > > Then fix that problem. Add a flag saying "busted_http11" and make it > > send requests with Content-Length after that. > > > Do you mean run-time configuration option like "http-force-http10 = yes"?
Oh. Hadn't thought about that. I was thinking dynamic detection. I would favor dynamic over Yet Another Config Option, but you're the one writing this code right now :-) Cheers, -g