Mantis - Quercus
Viewing Issue Advanced Details
4277 block always 10-29-10 04:55 10-29-10 04:55
kdecherf  
 
normal  
new 4.0.10  
open  
none    
none  
0004277: Malformed header content-type with cURL extension
curl_setopt($this->curl,CURLOPT_HTTPHEADER,array("Content-Type: application/json"));

Content-Type is ignored when request is executed, default Content-Type: application/x-www-form-urlencoded
Fixed with http://github.com/CleverCloud/Quercus/commit/a9f82d81901136835fccab974c53b346f675a0ee [^]

Working branch: http://github.com/CleverCloud/Quercus/tree/i10-curl [^]

Other issues are suspected with curl_setopt and CURLOPT_HTTPHEADER, but not found for this time.

There are no notes attached to this issue.