You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@marmotta.apache.org by "Chris Beer (JIRA)" <ji...@apache.org> on 2014/05/20 22:43:41 UTC
[jira] [Created] (MARMOTTA-505) Add a LDPath function to access
response headers, which may contain useful information
Chris Beer created MARMOTTA-505:
-----------------------------------
Summary: Add a LDPath function to access response headers, which may contain useful information
Key: MARMOTTA-505
URL: https://issues.apache.org/jira/browse/MARMOTTA-505
Project: Marmotta
Issue Type: New Feature
Components: LDCache, LDClient, LDPath
Reporter: Chris Beer
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.
{code}
content_type = fn:header("Content-Type") :: xsd:string ;
/* content_type = {application/rdf+xml} */
{code}
https://github.com/apache/marmotta/pull/6
--
This message was sent by Atlassian JIRA
(v6.2#6252)