/
Support HTTP/1.0 servers during CURL requests [5.2.1]

Support HTTP/1.0 servers during CURL requests [5.2.1]

It turns out, that specific CURL library versions are adding "Expect: 100-continue" header to every request larger than 1KB. This is handled properly by HTTP/1.1 compliant web servers, but causes 1 second delay and 4xx response from non-HTTP/1.1 compliant web servers like Lighttpd or PhantomJS.

To fix this the "Except:" header needs to sent upfront to disable CURL default behavior. Luckily we're already doing that (in kCurlHelper), but the comment above the header sending code wrongly indicates that it solves issues with connecting over SSL using expired certificates. The comment needs to be adjusted to escape misleading developers.

Related Tasks

INP-1393 - Getting issue details... STATUS