awslabs / llrt

LLRT (Low Latency Runtime) is an experimental, lightweight JavaScript runtime designed to address the growing demand for fast and efficient Serverless applications.
Apache License 2.0
7.73k stars 341 forks source link

feat: Improved compliance of request and response #405

Closed nabetti1720 closed 3 weeks ago

nabetti1720 commented 3 weeks ago

Description of changes

Add the following methods to improve the compliance of request and response Object. See also. https://fetch.spec.whatwg.org/#dom-body-bytes

Checklist

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.