Skip to content

Conversation

@marco-ippolito
Copy link
Member

Since the author of the previous PR #39322 was absent for more than a year I've decided to take it, resolve conflicts and create a new PR.
Resolves: #39033

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/http
  • @nodejs/net

@nodejs-github-botnodejs-github-bot added http Issues or PRs related to the http subsystem. needs-ci PRs that need a full CI run. labels Nov 23, 2022
@ronagronag requested a review from mcollinaNovember 23, 2022 11:40
@ronagronag added the semver-major PRs that contain breaking changes and should be released in the next major version. label Nov 23, 2022
Copy link
Contributor

@ShogunPandaShogunPanda 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
Copy link
Collaborator

Copy link
Member

@mcollinamcollina left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Member

@bnoordhuisbnoordhuis left a comment

Choose a reason for hiding this comment

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

Is there a test that checks a 400 is sent back? Plenty of updated tests but none that seem to test the new behavior. :-)

@marco-ippolitomarco-ippolitoforce-pushed the feat/no-host-request branch 2 times, most recently from 2350f73 to 9f283e1CompareNovember 24, 2022 17:42
@bnoordhuis
Copy link
Member

macos test failure appears to be relevant?

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

httpIssues or PRs related to the http subsystem.needs-ciPRs that need a full CI run.semver-majorPRs that contain breaking changes and should be released in the next major version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HTTP requests with no Host header accepted

12 participants

@marco-ippolito@nodejs-github-bot@bnoordhuis@ShogunPanda@aduh95@mcollina@mscdex@jasnell@lpinca@anonrig@ronag@wwwzbwcom