Skip to content

Commit a936705

Browse files
committed
added lowercase to header in cache
1 parent 0aec6b9 commit a936705

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/lib/dao-cache.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1608,6 +1608,10 @@ class Cache {
16081608

16091609
// combine the standard headers with the headers specified for endpoint in custom/policies.json
16101610
let passThrough = [].concat(this.#headersToRetain, defaultHeadersToRetain);
1611+
let arr = passThrough.map(element => {
1612+
return element.toLowerCase();
1613+
});
1614+
passThrough = arr;
16111615
let headersForCache = {};
16121616

16131617
// retain specified headers

0 commit comments

Comments
 (0)