You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Robert Newson (JIRA)" <ji...@apache.org> on 2011/09/07 22:55:11 UTC
[jira] [Assigned] (COUCHDB-1274) JSONP responses should be sent
with a "text/javascript" Content-type
[ https://issues.apache.org/jira/browse/COUCHDB-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Newson reassigned COUCHDB-1274:
--------------------------------------
Assignee: Robert Newson
> 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.1, 1.0.3
> Environment: Chrome 14, Firefox 6, Safari 5.
> Reporter: Tim Anglade
> Assignee: Robert Newson
> 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