Uploaded image for project: 'Marmotta'
  1. Marmotta
  2. MARMOTTA-188

DESCRIBE queries return a wrong content type

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.6, 3.0-incubating
    • Fix Version/s: 3.0-incubating
    • Component/s: Platform, Web Services
    • Labels:
      None

      Description

      DESCRIBE queries are returning SPARQL results content type, for example application/sparql-results+xml instead application/rdf+xml, ,although the content is correctly serialized.

      request:
      ----------
      GET /sparql/select?query=DESCRIBE%20%3Chttp%3A%2F%2Fexample.org%2Ffoo%3E HTTP/1.1
      Host: example.org
      Accept:/

      response:
      -------------
      Content-Type:application/sparql-results+xml;charset=utf-8
      Date:Wed, 03 Apr 2013 13:02:56 GMT
      Server:Apache Marmotta/3.0.0-incubating-SNAPSHOT (build 0)
      <?xml version="1.0" encoding="UTF-8"?>
      <rdf:RDF .../>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                wikier Sergio Fernández
                Reporter:
                wikier Sergio Fernández
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified