Skip to content

http.request: possibility to defer body receiving if sink is not specified - #438

Open
johnd0e wants to merge 1 commit into
lunarmodules:masterfrom
johnd0e:receivebody
Open

http.request: possibility to defer body receiving if sink is not specified#438
johnd0e wants to merge 1 commit into
lunarmodules:masterfrom
johnd0e:receivebody

Conversation

@johnd0e

@johnd0e johnd0e commented Sep 11, 2024

Copy link
Copy Markdown

In this case, the first returned value is not 1, but a function, taking two optional arguments: sink and step.
If the function is run without a sink, it simply closes the handle, ignoring the body.

Close #436

…ified

In this case, the first returned value is not `1`, but a function,
taking two optional arguments: `sink` and `step`.
If the function is run without a `sink`, it simply closes the handle,
ignoring the body.
@johnd0e

johnd0e commented Sep 18, 2024

Copy link
Copy Markdown
Author

@alerque Please review

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

http.request api should be improved

1 participant