alt-fetch plugin: bugfix, will set Response.url (at least in Node; ref. #7)

merge-requests/1/head
Michał 'rysiek' Woźniak 2021-08-29 15:01:24 +00:00
rodzic 1432ef3ef3
commit 3233de00b2
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -108,7 +108,8 @@
var init = {
status: response.status,
statusText: response.statusText,
headers: {}
headers: {},
url: url
};
response.headers.forEach(function(val, header){
init.headers[header] = val;