jena-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JENA-1604) Add request hook for HTTP query execution
Date Sat, 15 Sep 2018 14:17:00 GMT

    [ https://issues.apache.org/jira/browse/JENA-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16616310#comment-16616310
] 

ASF subversion and git services commented on JENA-1604:
-------------------------------------------------------

Commit 726f32ca013bf710180669e23c772a5587c98da8 in jena's branch refs/heads/master from ajs6f
[ https://git-wip-us.apache.org/repos/asf?p=jena.git;h=726f32c ]

JENA-1604: fixing indentation


> Add request hook for HTTP query execution
> -----------------------------------------
>
>                 Key: JENA-1604
>                 URL: https://issues.apache.org/jira/browse/JENA-1604
>             Project: Apache Jena
>          Issue Type: Task
>          Components: Jena
>            Reporter: Niraj Patel
>            Assignee: A. Soroka
>            Priority: Critical
>
> I am using Jena's QueryEngineHTTP for queries and RemoteUpdateRequest for updates. I
would like to send a custom header that will differ on each request. Our database, Allegrograph,
allows us to pass down custom headers while querying or updating in order to store that information
in access logs. For each SPARQL request we want to send down unique request markers and usernames
in order to be able to trace from a UI click to backend calls to queries that were performed
in the graph. I did some digging around and it seems like it's not possible. Using default
headers when configuring Apache's Http Client wouldn't work in this case. The suggestion
[~andy.seaborne] made was to create a request hook in HttpOp where we could add additional
headers as necessary. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message