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 f0cdfd1 commit 5556015Copy full SHA for 5556015
src/index.js
@@ -25,7 +25,7 @@ export default typeof fetch=='function' ? fetch.bind() : function(url, options)
25
headers = {},
26
header;
27
28
- request.getAllResponseHeaders().replace(/^(.*?):\s*([\s\S]*?)$/gm, (m, key, value) => {
+ request.getAllResponseHeaders().replace(/^(.*?):\s*?([\s\S]*?)$/gm, (m, key, value) => {
29
keys.push(key = key.toLowerCase());
30
all.push([key, value]);
31
header = headers[key];
0 commit comments