couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-2026) JSONP responses should be sent with a "application/javascript" Content-type
Date Tue, 01 Jul 2014 22:47:25 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-2026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14049404#comment-14049404
] 

ASF GitHub Bot commented on COUCHDB-2026:
-----------------------------------------

Github user robertkowalski commented on the pull request:

    https://github.com/apache/couchdb/pull/236#issuecomment-47718175
  
    Related tickets are https://issues.apache.org/jira/browse/COUCHDB-2026 which superseded
https://issues.apache.org/jira/browse/COUCHDB-1274 - so this is a long standing issue for
the Erlang code.


> JSONP responses should be sent with a "application/javascript" Content-type
> ---------------------------------------------------------------------------
>
>                 Key: COUCHDB-2026
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2026
>             Project: CouchDB
>          Issue Type: Sub-task
>          Components: HTTP Interface
>            Reporter: Hank Knight
>             Fix For: 1.1.1, 1.2
>
>
> The Content-Type header for JSONP should be "application/javascript"
> While the content-type of "text/javascript" is widely used, it is obsolete and may not
be supported by future browsers.
> See:
> http://tools.ietf.org/html/rfc4329
> http://www.rfc-editor.org/rfc/rfc4329.txt



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message