mirror of
https://github.com/denoland/deno.git
synced 2025-02-08 07:16:56 -05:00
perf(ext/http): skip core.isProxy
check for default ResponseInit (#15077)
This commit is contained in:
parent
3eccfe71d0
commit
535d5c1d37
1 changed files with 1 additions and 1 deletions
|
@ -298,7 +298,7 @@
|
||||||
* @param {BodyInit | null} body
|
* @param {BodyInit | null} body
|
||||||
* @param {ResponseInit} init
|
* @param {ResponseInit} init
|
||||||
*/
|
*/
|
||||||
constructor(body = null, init = {}) {
|
constructor(body = null, init = undefined) {
|
||||||
const prefix = "Failed to construct 'Response'";
|
const prefix = "Failed to construct 'Response'";
|
||||||
body = webidl.converters["BodyInit_DOMString?"](body, {
|
body = webidl.converters["BodyInit_DOMString?"](body, {
|
||||||
prefix,
|
prefix,
|
||||||
|
|
Loading…
Add table
Reference in a new issue