Repository navigation
http2: add writeProcessing to compat response - #67728
Merged
nodejs-github-bot merged 1 commit intoNov 25, 2026
Merged
Conversation
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 <inoueyuya416@gmail.com> Assisted-by: Claude Code
Collaborator
|
Review requested:
|
inoway46
marked this pull request as ready for review
November 23, 2026 14:07
pimterry
approved these changes
Nov 23, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #67728 +/- ##
=======================================
Coverage 90.55% 90.55%
=======================================
Files 801 801
Lines 284215 284220 +5
Branches 54883 54890 +7
=======================================
+ Hits 257358 257386 +28
+ Misses 17014 17010 -4
+ Partials 9843 9824 -19
🚀 New features to boost your workflow:
|
Collaborator
Collaborator
|
Landed in bf201ef |
aduh95
added a commit
that referenced
this pull request
Nov 25, 2026
Notable changes: doc: * deprecate `util.TextDecoder` and `util.TextEncoder` (LiviaMedeiros) #67461 http2: * (SEMVER-MINOR) add writeProcessing to compat response (Yuya Inoue) #67728 * (SEMVER-MINOR) add missing setHeaders (jakecastelli) #67597 * (SEMVER-MINOR) add callback to informational header methods (Yuya Inoue) #67470 lib: * (SEMVER-MINOR) graduate the --process-timeout option (James M Snell) #67506 os: * (SEMVER-MINOR) expose `guessFileDescriptorType` (Vlad Frangu) #58060 sqlite: * (SEMVER-MINOR) throw ERR_NO_SQLITE without SQLite support (Christian Aurich Zanettini Martins) #67727 * (SEMVER-MINOR) add statement.columnCount getter (Guilherme Araújo) #67658 * mark as stable (Christian Aurich Zanettini Martins) #67654 src: * (SEMVER-MINOR) expand --process-timeout output to include workers (James M Snell) #67712 * (SEMVER-MINOR) restore tty state on exit only if changed (Matteo Collina) #66753 tls: * (SEMVER-MINOR) docs-deprecate TLS renegotiation, add allowRenegotiation opt-in (Tim Perry) #67532 PR-URL: #67757
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Http2ServerResponsehas nowriteProcessing(), so code moving from HTTP/1 to the compat API fails with aTypeErrorwhen it calls it. This addsresponse.writeProcessing([callback]), which sends 102 throughwriteInformation()likewriteContinue()does, including the callback from #67470.Refs: #67705 (comment)
Refs: #29829