lib: remove double check by fhinkel · Pull Request #7985 · nodejs/node

@fhinkel

checkIsHttpToken() already checks for typeof string. We do not
want to check twice.

@nodejs-github-bot added the http

Issues or PRs related to the http subsystem.

label

Aug 5, 2016

jasnell pushed a commit that referenced this pull request

Aug 8, 2016
checkIsHttpToken() already checks for typeof string. We do not
want to check twice.

PR-URL: #7985
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: James M Snell <jasnell@gmail.com>

cjihrig pushed a commit that referenced this pull request

Aug 10, 2016
checkIsHttpToken() already checks for typeof string. We do not
want to check twice.

PR-URL: #7985
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: James M Snell <jasnell@gmail.com>