mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -05:00
perf(ext/http): skip core.isProxy
check for default ResponseInit (#15077)
This commit is contained in:
parent
04061f9f39
commit
6046342a20
1 changed files with 1 additions and 1 deletions
|
@ -298,7 +298,7 @@
|
|||
* @param {BodyInit | null} body
|
||||
* @param {ResponseInit} init
|
||||
*/
|
||||
constructor(body = null, init = {}) {
|
||||
constructor(body = null, init = undefined) {
|
||||
const prefix = "Failed to construct 'Response'";
|
||||
body = webidl.converters["BodyInit_DOMString?"](body, {
|
||||
prefix,
|
||||
|
|
Loading…
Reference in a new issue