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

net/http: NewRequestWithContext links to wrong NewRequest #70875

Closed
bradfitz opened this issue Dec 16, 2024 · 2 comments
Closed

net/http: NewRequestWithContext links to wrong NewRequest #70875

bradfitz opened this issue Dec 16, 2024 · 2 comments

Comments

@bradfitz
Copy link
Contributor

https://pkg.go.dev/net/http#NewRequestWithContext links to the wrong NewRequest func:

either use the NewRequest function in the net/http/httptest package

It should link to httptest.NewRequest instead.

/cc @neild

@gabyhelp
Copy link

Related Issues

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

@seankhliao
Copy link
Member

Duplicate of #70874

@seankhliao seankhliao marked this as a duplicate of #70874 Dec 17, 2024
@seankhliao seankhliao closed this as not planned Won't fix, can't repro, duplicate, stale Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants