Uploaded image for project: 'ActiveMQ Apollo (Retired)'
  1. ActiveMQ Apollo (Retired)
  2. APLO-188

Add "Access-Control-Allow-Methods" and "Access-Control-Allow-Headers" to CORS requests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2
    • 1.3
    • apollo-web
    • None
    • Debian Wheezy

    Description

      Request header field Authorization is not allowed by Access-Control-Allow-Headers.
      --------------------------------------------------------------------------------
      Request Headers:

      OPTIONS /broker.json HTTP/1.1
      Host: 192.168.1.2:61680
      Connection: keep-alive
      Cache-Control: max-age=0
      Access-Control-Request-Method: GET
      Origin: http://192.168.1.1
      Pragma: no-cache
      Access-Control-Request-Headers: origin, authorization, accept
      Accept: /
      --------------------------------------------------------------------------------
      Required Response Headers:

      Access-Control-Allow-Origin
      Access-Control-Allow-Methods
      Access-Control-Allow-Headers

      --------------------------------------------------------------------------------
      http://www.html5rocks.com/en/tutorials/cors/

      Attachments

        Activity

          People

            chirino Hiram R. Chirino
            torben.fistchen Torben Fitschen
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: