Skip to content

Commit

Permalink
perf(adapters/node): check _hasBody once
Browse files Browse the repository at this point in the history
  • Loading branch information
markthree committed Dec 8, 2024
1 parent b375975 commit 8c8e049
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/adapters/node/internal/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ export const NodeRequestProxy = /* @__PURE__ */ (() =>
return false;
}
}
this.__hasBody__ = true;
return true;
}

Expand Down

0 comments on commit 8c8e049

Please sign in to comment.