Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-276

CORS not working properly for preflight requests

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: Fuseki 0.2.2
    • Fix Version/s: Jena 2.11.0
    • Component/s: Fuseki
    • Labels:

      Description

      I tried to access a Fuseki Server by using an ajax request. Unfortunately the browser just sends an OPTIONS request and stops.

      Fuseki returns correct Access-Control-Allow-Origin headers for a POST request, but I think it also needs to return them on an OPTIONS request [1]. Otherwise the browser would not allow the request.

      I tested this with Firefox 13.0.1.

      [1] https://gist.github.com/a8af6897f2ce1f69c459

        Attachments

          Activity

            People

            • Assignee:
              andy Andy Seaborne
              Reporter:
              niclashoyer Niclas Hoyer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: