JSONP responses should be sent with a "text/javascript" Content-type
--------------------------------------------------------------------

                 Key: COUCHDB-1274
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1274
             Project: CouchDB
          Issue Type: Improvement
          Components: HTTP Interface
    Affects Versions: 1.0.3, 1.1
         Environment: Chrome 14, Firefox 6, Safari 5.
            Reporter: Tim Anglade
            Priority: Minor


Currently, jsonp responses come with a "text/plain" header. This causes 
warnings in some browsers, including Google Chrome, Firefox & Safari, according 
to this report: 
http://stackoverflow.com/questions/7338983/js-warning-resource-interpreted-as-script-but-transferred-with-mime-type-text-pl

Since jsonp responses are Javascript code, the content-type should instead be 
"text/javascript".

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to