kopia lustrzana https://gitlab.com/rysiekpl/libresilient
alt-fetch plugin: bugfix, will set Response.url (at least in Node; ref. #7)
rodzic
1432ef3ef3
commit
3233de00b2
|
@ -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;
|
||||
|
|
Ładowanie…
Reference in New Issue