We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e5c5a4 commit f8db5b4Copy full SHA for f8db5b4
lib/documentLoaders/xhr.js
@@ -89,7 +89,8 @@ module.exports = ({
89
90
// handle Link Header (avoid unsafe header warning by existence testing)
91
let linkHeader;
92
- if(REGEX_LINK_HEADER.test(req.getAllResponseHeaders())) {
+ if(REGEX_LINK_HEADER.test(req.getAllResponseHeaders()) &&
93
+ contentType !== 'application/ld+json') {
94
linkHeader = req.getResponseHeader('Link');
95
}
96
if(linkHeader && contentType !== 'application/ld+json') {
0 commit comments