This fix a known cURL bug: see http://the-stickman.com/web-development/php-and-curl-disabling-100-continue-header
cURL sets the Expect header field automatically, ignoring the fact that a client may not need it for the specific request.