Skip to content

inets improve httpd do/1 callback docs and spec#10602

Open
Whaileee wants to merge 1 commit intoerlang:maintfrom
Whaileee:whaileee/inets/httpd/docs/do/OTP-19952
Open

inets improve httpd do/1 callback docs and spec#10602
Whaileee wants to merge 1 commit intoerlang:maintfrom
Whaileee:whaileee/inets/httpd/docs/do/OTP-19952

Conversation

@Whaileee
Copy link
Contributor

Improvement in a response to #10501

@Whaileee Whaileee self-assigned this Jan 28, 2026
@Whaileee Whaileee added the team:PS Assigned to OTP team PS label Jan 28, 2026
@Whaileee Whaileee requested a review from IngelaAndin January 28, 2026 14:48
@github-actions
Copy link
Contributor

github-actions bot commented Jan 28, 2026

CT Test Results

  2 files   23 suites   13m 26s ⏱️
369 tests 363 ✅  6 💤 0 ❌
756 runs  670 ✅ 86 💤 0 ❌

Results for commit af352b8.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

Comment on lines 871 to 872
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
> It is strongly advised to use `NewDataFormat` in the return value of `do/1`
> as it uses a different mechanism to send the headers and the body.

"different" doesn't mean anything to users I guess (at least, not to me 😅). Is it better? How so?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's true. I'll use better wording. Good catch

@Whaileee Whaileee force-pushed the whaileee/inets/httpd/docs/do/OTP-19952 branch from a87334e to af352b8 Compare February 4, 2026 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team:PS Assigned to OTP team PS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants