mirror of
https://github.com/wanghongenpin/proxypin.git
synced 2026-06-01 17:15:48 +08:00
fix js fetch headers (##589)
This commit is contained in:
@@ -27,10 +27,11 @@ function fetch(url, options) {
|
||||
blob: () => Promise.resolve(request.response.body),
|
||||
clone: response,
|
||||
headers: {
|
||||
...headers,
|
||||
keys: () => keys,
|
||||
entries: () => all,
|
||||
get: n => headers[n.toLowerCase()],
|
||||
has: n => n.toLowerCase() in headers
|
||||
has: n => n.toLowerCase() in headers,
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user