Skip to content

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-botnodejs-github-bot added doc Issues and PRs related to the documentations. http Issues or PRs related to the http subsystem. labels Dec 7, 2019
@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
@saitolumesaitolume requested a review from TrottDecember 8, 2019 09:44
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

Landed in eaf5975.

Thanks for the contribution! 🎉

@TrottTrott closed this Dec 18, 2019
@saitolumesaitolume 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]>
@BridgeARBridgeAR 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]>
@targostargos mentioned this pull request Jan 15, 2020
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]>
@MylesBorinsMylesBorins mentioned this pull request Feb 8, 2020
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docIssues and PRs related to the documentations.httpIssues 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

@saitolume@Trott@lpinca@nodejs-github-bot