Problem occurs when requesting an url in the form 'domain.tld' (instead of 'domain.tld/').
# curl -v domain.tld
This will send a request to the (proxy) server that does not contain a trailing '/' in the path.
According to RFC 2616 the client is required to add a final '/' if the abs_path of the URI is null.
Because of this, some strict RFC 2616 http proxy server implementations will return a 'Bad Request' to Curl.
Thanks, I can see it too. I've added a test case that repeats the problem and I'll work on getting a fix for it...
Thanks, this is now fixed in commit e4b733e3f1a7 for the upcoming 7.30.0 release.
Thanks!! I have downloaded the latest source tree and it works.