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: update message.url example in http.IncomingMessage #30830

Closed
wants to merge 3 commits into from

Conversation

saitolume
Copy link
Contributor

Update message.url example to use The WHATWG URL API.
This is because the old example suggests using deprecated url API.

Fixes: #30048
Refs: https://nodejs.org/dist/latest-v12.x/docs/api/http.html#http_message_url

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines

Update message.url example to use The WHATWG URL API.
This is because the old example suggests using deprecated url API.

Fixes: nodejs#30048
Refs: https://nodejs.org/dist/latest-v12.x/docs/api/http.html#http_message_url
@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 Dec 7, 2019
doc/api/http.md Outdated Show resolved Hide resolved
doc/api/http.md Outdated Show resolved Hide resolved
@Trott
Copy link
Member

Trott commented Dec 7, 2019

@nodejs/http @nodejs/url

Wrapped at 80 characters and refactored.

Fixes: nodejs#30048
Refs: nodejs#30830
@saitolume saitolume requested a review from Trott December 8, 2019 09:44
doc/api/http.md Outdated Show resolved Hide resolved
Trott pushed a commit to Trott/io.js that referenced this pull request Dec 18, 2019
Update message.url example to use The WHATWG URL API.
This is because the old example suggests using deprecated url API.

Fixes: nodejs#30048
PR-URL: nodejs#30830
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
@Trott
Copy link
Member

Trott commented Dec 18, 2019

Landed in eaf5975.

Thanks for the contribution! 🎉

@Trott Trott closed this Dec 18, 2019
@saitolume saitolume deleted the fix-http-doc branch December 18, 2019 13:29
BridgeAR pushed a commit that referenced this pull request Jan 3, 2020
Update message.url example to use The WHATWG URL API.
This is because the old example suggests using deprecated url API.

Fixes: #30048
PR-URL: #30830
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
@BridgeAR BridgeAR mentioned this pull request Jan 7, 2020
targos pushed a commit that referenced this pull request Jan 14, 2020
Update message.url example to use The WHATWG URL API.
This is because the old example suggests using deprecated url API.

Fixes: #30048
PR-URL: #30830
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
BethGriggs pushed a commit that referenced this pull request Feb 6, 2020
Update message.url example to use The WHATWG URL API.
This is because the old example suggests using deprecated url API.

Fixes: #30048
PR-URL: #30830
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
@MylesBorins MylesBorins mentioned this pull request Feb 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

Documentation for http.message.url suggests using deprecated url API
4 participants