Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.5.4
-
Fix Version/s: 4.6
-
Component/s: CiviCRM API
-
Labels:
-
Documentation Required?:None
Description
According to http://stackoverflow.com/questions/477816/what-is-the-correct-json-content-type (which refers to http://www.ietf.org/rfc/rfc4627.txt), the content type for json is application/json. The API serves it as text/javascript.
This is probably not very critical. But it seems that some development frameworks that expect json results don't like text/javascript.