Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-2979

Enable CORS (Cross-Origin Resource Sharing)

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Bug fixes, 2011-11-21
    • Component/s: Web service
    • Labels:
      None

      Description

      CORS means that modern browsers can use XMLHttpRequests (or, for IE, XDomainRequests) to request cross-domain data, without having to use a workaround like JSONP.

      Presumably we want the webservice to be as available/usable as possible, so it seems we should probably set this up. It's just one header that should be returned on anything that's public information (so, most of the webservice):

      Access-Control-Allow-Origin: "*"

      for more information: http://enable-cors.org/ http://en.wikipedia.org/wiki/Cross-Origin_Resource_Sharing

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ianmcorvidae Ian McEwen
              • Votes:
                2 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  Bug fixes, 2011-11-21