[
https://issues.apache.org/jira/browse/JENA-743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14054705#comment-14054705
]
Rob Vesse commented on JENA-743:
--------------------------------
Apart from {{User-Agent}} which does seem unnecessary all the others look valid:
- {{Accept}} is used to determine which format to send responses to the user
in, particularly important for interacting with non-browser clients e.g. APIs,
SPARQL interfaces etc
- {{Accept-Encoding}} can cause Fuseki to use Gzip compression on the
responses, this can improve performance in environments where very large
results are produced
- {{Accept-Charset}} is important since most formats are defined to be UTF-8
only, asking for them as anything else can be considered invalid and
legitimately result in a {{406 Not Acceptable}}
> Should User-Agent be removed from the Vary header?
> --------------------------------------------------
>
> Key: JENA-743
> URL: https://issues.apache.org/jira/browse/JENA-743
> Project: Apache Jena
> Issue Type: Question
> Components: Jena
> Affects Versions: Fuseki 1.1.0
> Environment: Jena: VERSION: 2.12.0-SNAPSHOT
> Jena: BUILD_DATE: 2014-07-06T07:58:00+0000
> ARQ: VERSION: 2.12.0-SNAPSHOT
> ARQ: BUILD_DATE: 2014-07-06T07:58:00+0000
> RIOT: VERSION: 2.12.0-SNAPSHOT
> RIOT: BUILD_DATE: 2014-07-06T07:58:00+0000
> TDB: VERSION: 1.1.0-SNAPSHOT
> TDB: BUILD_DATE: 2014-07-06T07:58:00+0000
> Reporter: Sarven Capadisli
> Priority: Minor
> Fix For: Fuseki 1.1.0
>
>
> Multiple questions, and possible issues to create from here:
> * At the moment, Fuseki Vary headers are:
> "Accept,Accept-Encoding,Accept-Charset,User-Agent". Isn't this a bit
> excessive?
> * Do they all currently play a role in creating a response? For those that do
> not, should they be removed? (I can't think of a reason why User-Agent is
> included for instance)
> * Can the Vary headers be set conditionally or configurable?
--
This message was sent by Atlassian JIRA
(v6.2#6252)