Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc, http: add rejectNonStandardBodyWrites option, clear its behaviour #53396

Merged
merged 2 commits into from
Jun 11, 2024

Conversation

jakecastelli
Copy link
Member

Document rejectNonStandardBodyWrites option and its behaviour. Make the documentation clear that rejection only happens when rejectNonStandardBodyWrites is set to true.

Fixes: #53035
Refs: #47732 (comment), #47480

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/http
  • @nodejs/net

@nodejs-github-bot nodejs-github-bot added doc Issues and PRs related to the documentations. http Issues or PRs related to the http subsystem. labels Jun 9, 2024
@marco-ippolito marco-ippolito added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue Add this label to land a pull request using GitHub Actions. labels Jun 10, 2024
Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm

@nodejs-github-bot nodejs-github-bot added commit-queue-failed An error occurred while landing this pull request using GitHub Actions. and removed commit-queue Add this label to land a pull request using GitHub Actions. labels Jun 11, 2024
@nodejs-github-bot
Copy link
Collaborator

Commit Queue failed
- Loading data for nodejs/node/pull/53396
✔  Done loading data for nodejs/node/pull/53396
----------------------------------- PR info ------------------------------------
Title      doc, http: add `rejectNonStandardBodyWrites` option, clear its behaviour (#53396)
   ⚠  Could not retrieve the email or name of the PR author's from user's GitHub profile!
Branch     jakecastelli:fix-53035 -> nodejs:main
Labels     http, doc, author ready
Commits    2
 - doc, http: add `rejectNonStandardBodyWrites` option, clear its behaviour
 - fixup!
Committers 1
 - jakecastelli <959672929@qq.com>
PR-URL: https://github.com/nodejs/node/pull/53396
Fixes: https://github.com/nodejs/node/issues/53035
Reviewed-By: Luigi Pinca 
Reviewed-By: Paolo Insogna 
Reviewed-By: Ulises Gascón 
Reviewed-By: Marco Ippolito 
Reviewed-By: Matteo Collina 
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/53396
Fixes: https://github.com/nodejs/node/issues/53035
Reviewed-By: Luigi Pinca 
Reviewed-By: Paolo Insogna 
Reviewed-By: Ulises Gascón 
Reviewed-By: Marco Ippolito 
Reviewed-By: Matteo Collina 
--------------------------------------------------------------------------------
   ℹ  This PR was created on Sun, 09 Jun 2024 15:57:36 GMT
   ✔  Approvals: 5
   ✔  - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/53396#pullrequestreview-2106362720
   ✔  - Paolo Insogna (@ShogunPanda) (TSC): https://github.com/nodejs/node/pull/53396#pullrequestreview-2107371369
   ✔  - Ulises Gascón (@UlisesGascon): https://github.com/nodejs/node/pull/53396#pullrequestreview-2107511309
   ✔  - Marco Ippolito (@marco-ippolito) (TSC): https://github.com/nodejs/node/pull/53396#pullrequestreview-2107859286
   ✔  - Matteo Collina (@mcollina) (TSC): https://github.com/nodejs/node/pull/53396#pullrequestreview-2109979771
   ✔  Last GitHub CI successful
   ℹ  Green GitHub CI is sufficient
--------------------------------------------------------------------------------
   ✔  No git cherry-pick in progress
   ✔  No git am in progress
   ✔  No git rebase in progress
--------------------------------------------------------------------------------
- Bringing origin/main up to date...
From https://github.com/nodejs/node
 * branch                  main       -> FETCH_HEAD
✔  origin/main is now up-to-date
- Downloading patch for 53396
From https://github.com/nodejs/node
 * branch                  refs/pull/53396/merge -> FETCH_HEAD
✔  Fetched commits as 94c81784422e..1112d9752552
--------------------------------------------------------------------------------
[main 401a614dcc] doc, http: add `rejectNonStandardBodyWrites` option, clear its behaviour
 Author: jakecastelli <959672929@qq.com>
 Date: Mon Jun 10 01:24:07 2024 +0930
 1 file changed, 7 insertions(+), 2 deletions(-)
[main b7db59c059] fixup!
 Author: jakecastelli <959672929@qq.com>
 Date: Mon Jun 10 01:31:30 2024 +0930
 1 file changed, 1 insertion(+), 2 deletions(-)
   ✔  Patches applied
There are 2 commits in the PR. Attempting autorebase.
Rebasing (2/4)

Executing: git node land --amend --yes
--------------------------------- New Message ----------------------------------
doc, http: add rejectNonStandardBodyWrites option, clear its behaviour

PR-URL: #53396
Fixes: #53035
Reviewed-By: Luigi Pinca luigipinca@gmail.com
Reviewed-By: Paolo Insogna paolo@cowtech.it
Reviewed-By: Ulises Gascón ulisesgascongonzalez@gmail.com
Reviewed-By: Marco Ippolito marcoippolito54@gmail.com
Reviewed-By: Matteo Collina matteo.collina@gmail.com

[detached HEAD eb0ef3eac3] doc, http: add rejectNonStandardBodyWrites option, clear its behaviour
Author: jakecastelli 959672929@qq.com
Date: Mon Jun 10 01:24:07 2024 +0930
1 file changed, 7 insertions(+), 2 deletions(-)
Rebasing (3/4)
Rebasing (4/4)

Executing: git node land --amend --yes
--------------------------------- New Message ----------------------------------
fixup!

PR-URL: #53396
Fixes: #53035
Reviewed-By: Luigi Pinca luigipinca@gmail.com
Reviewed-By: Paolo Insogna paolo@cowtech.it
Reviewed-By: Ulises Gascón ulisesgascongonzalez@gmail.com
Reviewed-By: Marco Ippolito marcoippolito54@gmail.com
Reviewed-By: Matteo Collina matteo.collina@gmail.com

[detached HEAD d73e5a0a37] fixup!
Author: jakecastelli 959672929@qq.com
Date: Mon Jun 10 01:31:30 2024 +0930
1 file changed, 1 insertion(+), 2 deletions(-)

Successfully rebased and updated refs/heads/main.

ℹ Add commit-queue-squash label to land the PR as one commit, or commit-queue-rebase to land as separate commits.

https://github.com/nodejs/node/actions/runs/9468967820

@marco-ippolito marco-ippolito added commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. commit-queue Add this label to land a pull request using GitHub Actions. and removed commit-queue-failed An error occurred while landing this pull request using GitHub Actions. labels Jun 11, 2024
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Jun 11, 2024
@nodejs-github-bot nodejs-github-bot merged commit 521c9c6 into nodejs:main Jun 11, 2024
28 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in 521c9c6

targos pushed a commit that referenced this pull request Jun 20, 2024
PR-URL: #53396
Fixes: #53035
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
eliphazbouye pushed a commit to eliphazbouye/node that referenced this pull request Jun 20, 2024
PR-URL: nodejs#53396
Fixes: nodejs#53035
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
bmeck pushed a commit to bmeck/node that referenced this pull request Jun 22, 2024
PR-URL: nodejs#53396
Fixes: nodejs#53035
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
marco-ippolito pushed a commit that referenced this pull request Jul 19, 2024
PR-URL: #53396
Fixes: #53035
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
marco-ippolito pushed a commit that referenced this pull request Jul 19, 2024
PR-URL: #53396
Fixes: #53035
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. doc Issues and PRs related to the documentations. http Issues or PRs related to the http subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

http module documented default behavior only triggered if undocumented option is set
7 participants