Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-1274 JSONP responses should be sent with a "text/javascript" Content-type
  3. COUCHDB-2026

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

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.1.1, 1.2, 2.0.0
    • HTTP Interface
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              robertkowalski Robert Kowalski
              hknight555@gmail.com Hank Knight
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: