We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92d418b commit 7841e01Copy full SHA for 7841e01
lib/documentLoaders/xhr.js
@@ -87,7 +87,8 @@ module.exports = ({
87
88
// handle Link Header (avoid unsafe header warning by existence testing)
89
let linkHeader;
90
- if(REGEX_LINK_HEADER.test(req.getAllResponseHeaders())) {
+ if(REGEX_LINK_HEADER.test(req.getAllResponseHeaders()) &&
91
+ contentType !== 'application/ld+json') {
92
linkHeader = req.getResponseHeader('Link');
93
}
94
if(linkHeader && contentType !== 'application/ld+json') {
0 commit comments