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

Add a LDPath function to access response headers, which may contain useful information

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.2.1
    • Fix Version/s: 3.3.0
    • Component/s: LDCache, LDClient, LDPath
    • Labels:
      None

      Description

      Some linked data resources that I'm requesting have important information in their HTTP headers. I would like to access those headers from an LDPath program.

      To do so, I expanded the LDCache and LDClient APIs to support exposing headers to a newly created LDPath function.

      content_type = fn:header("Content-Type") :: xsd:string ;
      /* content_type = {application/rdf+xml} */
      

      https://github.com/apache/marmotta/pull/6

        Attachments

          Activity

            People

            • Assignee:
              jakob Jakob Frank
              Reporter:
              cbeer Chris Beer
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: