GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||
GeezerVison is showing github.com — doc: fix http response.writeProcessing() description by inoway46 · Pull Request #67705 · nodejs/node Conversation
|
|
Review requested:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@nodejs/http2 Should we also add |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
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. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks, that makes sense. I'll open a separate PR for that later. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Fast-track has been requested by @Ethan-Arrowood. Please 👍 to approve. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Landed in 82e6b29 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
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 <[email protected]> Assisted-by: Claude Code PR-URL: #67705 Reviewed-By: Ethan Arrowood <[email protected]> Reviewed-By: Tim Perry <[email protected]>
The HTTP/1 ServerResponse has writeProcessing() to send a 102 Processing response, but Http2ServerResponse does not, so code moving to the compat API fails with a TypeError when it calls it. Add writeProcessing([callback]), which sends 102 through writeInformation() like writeContinue() does. Refs: #29829 Refs: #67705 (comment) Signed-off-by: inoway46 <[email protected]> Assisted-by: Claude Code PR-URL: #67728 Reviewed-By: Tim Perry <[email protected]> Reviewed-By: Ethan Arrowood <[email protected]>
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 <[email protected]> Assisted-by: Claude Code PR-URL: nodejs#67705 Reviewed-By: Ethan Arrowood <[email protected]> Reviewed-By: Tim Perry <[email protected]>
The HTTP/1 ServerResponse has writeProcessing() to send a 102 Processing response, but Http2ServerResponse does not, so code moving to the compat API fails with a TypeError when it calls it. Add writeProcessing([callback]), which sends 102 through writeInformation() like writeContinue() does. Refs: nodejs#29829 Refs: nodejs#67705 (comment) Signed-off-by: inoway46 <[email protected]> Assisted-by: Claude Code PR-URL: nodejs#67728 Reviewed-By: Tim Perry <[email protected]> Reviewed-By: Ethan Arrowood <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.