GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — types: optional `status` in `Response.redirect` by gineika · Pull Request #4591 · nodejs/undici

Conversation

@gineika

@gineika gineika commented Sep 27, 2025

Copy link
Copy Markdown
Contributor

https://developer.mozilla.org/en-US/docs/Web/API/Response/redirect_static#status

undici/lib/web/fetch/response.js

Line 72 in 7321451

static redirect (url, status = 302) {

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@gineika
types: optional status in Response.redirect
2ae6c66
@Uzlopak
Uzlopak requested a review from Copilot September 27, 2025 12:09
Copilot AI reviewed Sep 27, 2025
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@codecov-commenter

codecov-commenter commented Sep 27, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.94%. Comparing base (7321451) to head (2ae6c66).
⚠️ Report is 219 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4591   +/-   ##
=======================================
  Coverage   92.94%   92.94%           
=======================================
  Files         106      106           
  Lines       32973    32973           
=======================================
  Hits        30646    30646           
  Misses       2327     2327           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

gurgunday
gurgunday approved these changes Sep 27, 2025
View reviewed changes

@gurgunday gurgunday left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Seems good?

undici/lib/web/fetch/response.js

Line 72 in 7321451

static redirect (url, status = 302) {

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
KhafraDev
KhafraDev approved these changes Sep 27, 2025
View reviewed changes
@KhafraDev
KhafraDev merged commit 2c3ac34 into nodejs:main Sep 27, 2025
@github-actions github-actions Bot mentioned this pull request Jan 5, 2026
[Release] v7.17.0 #4724
Merged
slagiewka pushed a commit to slagiewka/undici that referenced this pull request Feb 14, 2026
@gineika @slagiewka
types: optional status in Response.redirect (nodejs#4591)
80e0df3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments
+2 more reviewers
@KhafraDev KhafraDev KhafraDev approved these changes
@gurgunday gurgunday gurgunday approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@gineika @codecov-commenter @KhafraDev @gurgunday
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.