Skip to content

Align HTTP request write typings with ECMA-419 - #1683

Open
stc1988 wants to merge 1 commit into
Moddable-OpenSource:publicfrom
stc1988:fix/typing/http/clinet
Open

Align HTTP request write typings with ECMA-419#1683
stc1988 wants to merge 1 commit into
Moddable-OpenSource:publicfrom
stc1988:fix/typing/http/clinet

Conversation

@stc1988

@stc1988 stc1988 commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

ECMA-419 specifies that calling write() with no arguments signals the end of a request body using chunked transfer encoding. It also specifies that write() returns the number of bytes that may subsequently be written.

@phoddie

phoddie commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

Absolutely correct. We'll get this merged. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants