Skip to content

doc: fix http response.writeProcessing() description - #67705

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
inoway46:doc-http-write-processing
Nov 24, 2026
Merged

nodejs-github-bot merged 1 commit into
nodejs:mainfrom
inoway46:doc-http-write-processing

Conversation

@inoway46

@inoway46 inoway46 commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

The description of response.writeProcessing() was copied from writeContinue() and described 100 Continue. This fixes it and documents the callback that both methods already accept.

The description of response.writeProcessing() was copied from
response.writeContinue() and said that the request body should be
sent, which is what 100 Continue means, not 102 Processing.

Describe what 102 means, document the callback that both methods
have always accepted, and point to the equivalent
response.writeInformation() call.

Signed-off-by: inoway46 <inoueyuya416@gmail.com>
Assisted-by: Claude Code
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/http
  • @nodejs/net

@nodejs-github-bot nodejs-github-bot added doc Issues and PRs related to Node.js documentation. http Issues and PRs related to the http subsystem. labels Nov 22, 2026
@inoway46
inoway46 marked this pull request as ready for review November 22, 2026 17:42
@inoway46

inoway46 commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor Author

@nodejs/http2 Should we also add writeProcessing() to Http2ServerResponse to match HTTP/1? Since #67470 added the callback, it can now behave the same as the HTTP/1 one. I'm a bit unsure, though 102 Processing still has potential use cases for long-running requests, but it was removed from WebDAV in RFC 4918. The change itself is a one-liner, and given what the compat API is for, I lean towards adding it. What do you think?

@pimterry

Copy link
Copy Markdown
Member

Should we also add writeProcessing() to Http2ServerResponse to match HTTP/1?

Not urgent, but yeah it's good to keep them in sync if you have a minute. Even if WebDAV dropped 102, we haven't deprecated it, and I wouldn't be surprised if there's people using it in fun niche cases in HTTP anyway.

@inoway46

Copy link
Copy Markdown
Contributor Author

Thanks, that makes sense. I'll open a separate PR for that later.

@Ethan-Arrowood Ethan-Arrowood added the fast-track PRs proposed for a shorter-than-standard waiting period before landing. label Nov 23, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Fast-track has been requested by @Ethan-Arrowood. Please πŸ‘ to approve.

@pimterry pimterry added the commit-queue PRs queued for automated landing through the Commit Queue. label Nov 24, 2026
@nodejs-github-bot
nodejs-github-bot merged commit 82e6b29 into nodejs:main Nov 24, 2026
46 checks passed
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in 82e6b29

@nodejs-github-bot nodejs-github-bot removed the commit-queue PRs queued for automated landing through the Commit Queue. label Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Issues and PRs related to Node.js documentation. fast-track PRs proposed for a shorter-than-standard waiting period before landing. http Issues and PRs related to the http subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants