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

DESCRIBE queries return a wrong content type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.6, 3.0-incubating
    • 3.0-incubating
    • Platform, Web Services
    • 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

              wikier Sergio Fernández
              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