mirror of
https://github.com/denoland/deno.git
synced 2025-10-02 07:01:16 +00:00
perf(cli/body): improve .arrayBuffer() speed (#6669)
This commit is contained in:
parent
cb98a59452
commit
e4899b6ba4
5 changed files with 48 additions and 23 deletions
|
@ -71,7 +71,7 @@ export class Request extends body.Body implements domTypes.Request {
|
|||
}
|
||||
|
||||
const contentType = headers.get("content-type") || "";
|
||||
super(b, contentType);
|
||||
super(b, { contentType });
|
||||
this.headers = headers;
|
||||
|
||||
// readonly attribute ByteString method;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue