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:
parent
ab0598333e
commit
3c9ac413c7
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue