Uh oh!
There was an error while loading. Please reload this page.
doc: added example for setting Vary: Accept-Encoding header in zlib.md - #26308
doc: added example for setting Vary: Accept-Encoding header in zlib.md#26308mukulkhanna wants to merge 3 commits into
Conversation
| const fs = require('fs'); | ||
| http.createServer((request, response) => { | ||
| const raw = fs.createReadStream('index.html'); | ||
| // instruct the proxy to store both a compressed and uncompressed version of the resource |
There was a problem hiding this comment.
Hi, @mukulkhanna! Welcome and thanks for the pull request! This line above is (probably) going to cause the linter to complain. Could you wrap the comment at 80 characters and capitalize the first letter of the first word? (Might as well put a period/full-stop at the end while you're at it.)
There was a problem hiding this comment.
Oh, and you can check the linting with make lint (or vcbuild lint on Windows).
Trott
commented
Feb 26, 2019
Uh oh!
There was an error while loading. Please reload this page.
@Trott , |
Co-Authored-By: mukulkhanna <mukul18khanna@gmail.com>
Trott
commented
Feb 26, 2019
Correct. CI is currently locked down while it is being used to prepare the security release that is scheduled to come out in the next several hours. |
Trott
commented
Feb 26, 2019
Lite CI: https://ci.nodejs.org/job/node-test-pull-request-lite-pipeline/2709/ (Results should be reported in the GitHub widget below.) |
mukulkhanna
commented
Feb 26, 2019
The 'first' commit message is failing the test. Is this the first commit of this pull request or is this about the most recent commit in the pull request. |
Trott
commented
Feb 26, 2019
It's the first word of the last commit, but don't worry about it. Whoever lands this commit will need to squash the commits into one and modify the commit message to conform to our requirements anyway. The Travis stuff is advisory, but the other two checks from Jenkins are green and those are the ones that matter. |
Actually the Travis failure is the first commit: https://travis-ci.com/nodejs/node/jobs/180651661#L476-L486 In this case |
Trott
commented
Feb 27, 2019
@richardlau Ooh, I didn't even consider that it's a bug. (And I'm the one that initially set up Travis to always lint the first commit and no other commit! You'd think I'd remember that. 😆) Nice catch! Sorry for the bad information! |
mukulkhanna
commented
Feb 27, 2019
@Trott Can I close this pull request or should I wait for it to be merged ? |
Trott
commented
Feb 27, 2019
Leave this pull request open. Thanks! |
richardlau
commented
Feb 28, 2019
FTR I've pushed out a fix to |
PR-URL: nodejs#26308 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Trott
commented
Feb 28, 2019
Landed in 86f13d6. Thanks for the contribution! 🎉 |
PR-URL: #26308 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Resolving issue #25495.
Added example to set
Vary: Accept-Encodingheader with explanatory comment to doc/api/zlib.mdChecklist