http: fix agent.getName() and add tests
This commit fixes agent.getName(), which returned an extra colon according to the docs, and adds tests (it was previously not unit tested). PR-URL: https://github.com/nodejs/io.js/pull/1617 Reviewed-By:Ben Noordhuis <info@bnoordhuis.nl>
parent
4cffaa3f
Please register or sign in to comment