1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-01 16:51:13 -05:00

https post request work

This commit is contained in:
Satya Rohith 2024-10-14 19:28:53 +05:30
parent ab0598333e
commit 3c9ac413c7
No known key found for this signature in database
GPG key ID: B2705CF40523EB05

View file

@ -625,7 +625,7 @@ class ClientRequest extends OutgoingMessage {
// Note: the order is important, as the headers flush
// sets up the request.
this._flushHeaders();
this.on("requestReady", () => {
this.once("requestReady", () => {
this._flushBody();
});
});