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 25579c4 commit 51440e3Copy full SHA for 51440e3
js/jsonld.js
@@ -1651,10 +1651,10 @@ jsonld.cache = {
1651
jsonld.acceptHeader = 'application/ld+json, application/json';
1652
1653
/**
1654
- * Build an headers object from custom headers and assert Accept header is not override.
+ * Build an headers object from custom headers and assert `accept` header isn't overridden.
1655
*
1656
- * @param headers an o
1657
- * @return {*|{}}
+ * @param {Object} headers an object of headers with key as header name and value as header value.
+ * @return {Object} an object of headers with a valid `accept` header.
1658
*/
1659
jsonld.buildHeaders = function (headers) {
1660
headers = headers || {};
0 commit comments