Closed (fixed)
Project:
Browser
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
21 Aug 2009 at 03:03 UTC
Updated:
25 Nov 2009 at 06:00 UTC
Jump to comment: Most recent file
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:';
}
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 555374-expect-header.patch | 951 bytes | boombatower |
| #2 | 555374-expect-header.patch | 938 bytes | boombatower |
Comments
Comment #1
boombatower commentedMove to Browser module for further development.
Comment #2
boombatower commentedComment #3
boombatower commentedCommitted.