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

Fuseki 3.13.0 GET vs HEAD

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Jena 3.13.0
    • Jena 3.14.0
    • Fuseki
    • None

    Description

      I would expect the GET /ds/ to return 200 OK with a full dataset (quad semantics). Which it does:

      GET /ds/ HTTP/1.1
      Host: localhost:3030
      User-Agent: curl/7.47.0
      Accept: /

      HTTP/1.1 200 OK
      Date: Wed, 11 Dec 2019 09:49:11 GMT
      Fuseki-Request-ID: 6
      Vary: Accept,Accept-Encoding,Accept-Charset
      Content-Type: text/trig
      Transfer-Encoding: chunked

      In that case I think HEAD /ds/ should return the same status code and headers (minus the response body), but it doesn't:

      HEAD /ds/ HTTP/1.1
      Host: localhost:3030
      User-Agent: curl/7.47.0
      Accept: /HTTP/1.1 400 Neither default graph nor named graph specified
      Date: Wed, 11 Dec 2019 09:42:49 GMT
      Fuseki-Request-ID: 5
      Vary: Accept,Accept-Encoding,Accept-Charset
      Content-Type: text/plain;charset=utf-8
      Cache-Control: must-revalidate,no-cache,no-store
      Pragma: no-cache
      Content-Length: 59

      Attachments

        Activity

          People

            andy Andy Seaborne
            graphity Martynas Jusevičius
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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