You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@marmotta.apache.org by cbeer <gi...@git.apache.org> on 2014/05/20 22:40:36 UTC

[GitHub] marmotta pull request: Add an LDPath function to retrieve a back-e...

GitHub user cbeer opened a pull request:

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

    Add an LDPath function to retrieve a back-end defined response header

    With the `fn:header` function, LDPath implementations can retrieve "headers" from the backend (which may be HTTP headers for some backends, but may be other metadata about the resource for others).
    
    e.g. 
    
    ```
    content_type = fn:header("Content-Type") :: xsd:string ;
    ```
    
    Could result in:
    
    ```
    content_type = {application/rdf+xml}
    ```

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cbeer/marmotta ldcache-headers

Alternatively you can review and apply these changes as the patch at:

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

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #6
    
----
commit 6ea7bc8cd1f7e7a90040459e92039ade15dcce74
Author: Chris Beer <ca...@stanford.edu>
Date:   2014-05-20T19:28:15Z

    Add an LDPath function (fn:header) to retrieve a backend-defined
    response header for a resource
    
    The AbstractHttpProvider provides an example implementation that stores
    all the HTTP headers. Other backends have empty header implementation.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] marmotta pull request: Add an LDPath function to retrieve a back-e...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

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


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---