Uploaded image for project: 'Fedora Repository Project'
  1. Fedora Repository Project
  2. FCREPO-2097

Ontology document doesn't return a Content-Type header

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Fedora 4.5.1
    • Fix Version/s: Fedora 4.6.0
    • Component/s: f4-ontology
    • Labels:
    • Roadmap Theme:
      API Specification
    • Sprint:
      Sprint 2016 - 16

      Description

      The Fedora ontology is available online, but LDP clients have a hard time parsing it since it doesn't include a Content-Type header. It really MUST return a Content-Type header. I see that most other ontologies will redirect clients to a URL with a .rdf extension.

      For example:

      $ curl -i http://fedora.info/definitions/v4/2016/03/01/repository

      HTTP/1.1 200 OK
      Date: Sun, 31 Jul 2016 13:09:56 GMT
      Server: Apache
      Last-Modified: Mon, 02 May 2016 15:50:16 GMT
      ETag: "621a-531ddf2e5c191"
      Accept-Ranges: bytes
      Content-Length: 25114

        Attachments

          Activity

            People

            • Assignee:
              awoods Andrew Woods
              Reporter:
              acoburn Aaron Coburn
              Reviewer:
              Aaron Coburn
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: