Deal with this bit from DrupalWebTestCase.

if (!empty($curl_options[CURLOPT_POST])) {
  // This is a fix for the Curl library to prevent Expect: 100-continue
  // headers in POST requests, that may cause unexpected HTTP response
  // codes from some webservers (like lighttpd that returns a 417 error
  // code). It is done by setting an empty "Expect" header field that is
  // not overwritten by Curl.
  $curl_options[CURLOPT_HTTPHEADER][] = 'Expect:';
}

Comments

boombatower’s picture

Project: Drupal core » Browser
Version: 7.x-dev » 7.x-1.x-dev
Component: browser system » Code

Move to Browser module for further development.

boombatower’s picture

Assigned: Unassigned » boombatower
Status: Active » Needs review
StatusFileSize
new938 bytes
boombatower’s picture

Status: Needs review » Fixed
StatusFileSize
new951 bytes

Committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.