[Solar-svn] Revision 3224
pmjones at solarphp.com
pmjones at solarphp.com
Sun Jun 15 08:02:27 CDT 2008
Solar_Http_Request_Adaper_Curl: [FIX] Per note from Antti H, use "Label: Value" in remaining headers, not (Label => Value). Cf. http://fi2.php.net/manual/en/function.curl-setopt.php#20410
fixes #137
Modified: trunk/Solar/Http/Request/Adapter/Curl.php
===================================================================
--- trunk/Solar/Http/Request/Adapter/Curl.php 2008-06-14 21:42:41 UTC (rev 3223)
+++ trunk/Solar/Http/Request/Adapter/Curl.php 2008-06-15 13:02:27 UTC (rev 3224)
@@ -146,7 +146,7 @@
curl_setopt($ch, CURLOPT_REFERER, $value);
break;
default:
- $http_header[$label] = $value;
+ $http_header[] = $header;
}
}
More information about the Solar-svn
mailing list