Posted by boombatower on August 21, 2009 at 3:03am
2 followers
| Project: | Browser |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | boombatower |
| Status: | closed (fixed) |
Issue Summary
Deal with this bit from DrupalWebTestCase.
<?php
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
#1
Move to Browser module for further development.
#2
#3
Committed.
#4
Automatically closed -- issue fixed for 2 weeks with no activity.