PHP Classes

Magento error Content-Type

Recommend this page to a friend!

      PHP OAuth Library  >  All threads  >  Magento error Content-Type  >  (Un) Subscribe thread alerts  
Subject:Magento error Content-Type
Summary:Content_Type
Messages:2
Author:VS7 Co
Date:2013-09-18 14:01:29
Update:2013-10-13 08:13:43
 

  1. Magento error Content-Type   Reply   Report abuse  
Picture of VS7 Co VS7 Co - 2013-09-18 14:01:32
Found some Magento specific bug.
Need to add 'Content_Type' header - line 1286.

$arguments['Headers']['Content_Type'] = $options['RequestContentType'];

  2. Re: Magento error Content-Type   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2013-10-13 08:13:43 - In reply to message 1 from VS7 Co
Are you sure it is named Content_Type? That is not a standard header name for the the content type. The correct name is Content-Type.