You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Incorrect HTTP Response Headers for "Accept: text/turtle" #632
Light testing shows that this patch is likely to fix the issue
// Till here it must existif(!includeBody){// If request accepts the content-type we foundif(negotiator.mediaType([contentType])){res.setHeader('Content-Type',contentType)}debug('HEAD only')res.sendStatus(200)returnnext()}
An issue with etag being not the same for head and get is discussed in gitter solid/node-solid-server at March 8, 2018 1:08 PM ... In this case, Etags work on HEAD but under some circumstances not GET
Activity
melvincarvalho commentedon Feb 7, 2018
@kidehen thanks for raising this!
GET seems to work, but not HEAD
seeAlso chatlog
melvincarvalho commentedon Feb 7, 2018
Possible issue here
https://github.com/solid/node-solid-server/blob/master/lib/handlers/get.js#L72
melvincarvalho commentedon Feb 7, 2018
This bit may need to come before the
return next()melvincarvalho commentedon Feb 8, 2018
Light testing shows that this patch is likely to fix the issue
timbl commentedon Mar 8, 2018
An issue with etag being not the same for head and get is discussed in gitter solid/node-solid-server at March 8, 2018 1:08 PM ... In this case, Etags work on HEAD but under some circumstances not GET
RubenVerborgh commentedon Mar 8, 2018
The content-type issues will likely be solved once #643 is incorporated.
RubenVerborgh commentedon Jul 19, 2018
Will be fixed by #662.
RubenVerborgh commentedon Sep 24, 2018
Duplicate of #454, following up there.