test: test more http response splitting scenarios
authorBen Noordhuis <info@bnoordhuis.nl>
Fri, 18 Sep 2015 02:25:28 +0000 (04:25 +0200)
committerJeremiah Senkpiel <fishrock123@rocketmail.com>
Sun, 20 Sep 2015 17:31:26 +0000 (10:31 -0700)
commit2084f525852066347e37e9fd135dd1667a720931
treec51c002d50ab3f42914293d923642b99e9c82250
parentfa08d1d8a157d84db2834c018294ca2fc6996b1f
test: test more http response splitting scenarios

The test verified the output of http.OutgoingMessage#writeHead() but
not http.OutgoingMessage#setHeader().  Also check the response body.

PR-URL: https://github.com/nodejs/node/pull/2945
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Rod Vagg <r@va.gg>
test/parallel/test-http-header-response-splitting.js