In a federated query with values already bound, it seems that I get for each 
bound value an entry in the fuseki log:

[2017-04-24 19:43:33] ResponseProcessCookies WARN  Invalid cookie header: 
"Set-Cookie: WMF-Last-Access=24-Apr-2017;Path=/;HttpOnly;secure;Expires=Fri, 26 
May 2017 12:00:00 GMT". Invalid 'expires' attribute: Fri, 26 May 2017 12:00:00 
GMT
[2017-04-24 19:43:33]     : "Set-Cookie: 
WMF-Last-Access-Global=24-Apr-2017;Path=/;Domain=.wikidata.org;HttpOnly;secure;Expires=Fri,
 26 May 2017 12:00:00 GMT". Invalid 'expires' attribute: Fri, 26 May 2017 
12:00:00 GMT

The (simplified) query was:

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
select *
where {
  bind("118578537" as ?gndId)
  service <https://query.wikidata.org/bigdata/namespace/wdq/sparql> {
    ?wd wdt:P227 ?gndId .
  }
}

Stas Malyshev, the tech guy at wikidata, pointed out that the header should be 
correct (and is probably added by their Varnish, so this could bite in other 
places, too).

There seems to be a long-lasting issue with HttpClient in this respect 
(https://issues.apache.org/jira/browse/HTTPCLIENT-923), which perhaps is not 
completely fixed.

Since the warning may show up thousands and thousands of times (according to 
the number of bound values), it would be great if it could be fixed somehow.

Cheers, Joachim

Reply via email to