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

Andy Seaborne commented on JENA-743:
------------------------------------

>From the code (in org.apache.jena.fuseki.servlets.ServletBase), it sets 
>{{Accept}}, {{AcceptEncoding}}, {{AcceptCharset}}, not {{User-Agent}}.  Do you 
>have a concrete example? Something else (e.g. Jetty, any reverse proxy) may be 
>setting it.  There are use cases - elsewhere, we have had to block on user 
>agent, and you don't want requests from one user agent that are blocked 
>messing up requests from another.


> 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)

Reply via email to