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

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

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 3.2.1
    • 3.3.0
    • LDCache, LDClient, LDPath
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: