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

Enable CORS (Cross-Origin Resource Sharing)

XMLWordPrintable

      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

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

              Created:
              Updated:
              Resolved:

                Version Package
                Bug fixes, 2011-11-21