http: removed headers stay removed
authorJames Halliday <mail@substack.net>
Mon, 10 Sep 2012 02:04:37 +0000 (19:04 -0700)
committerisaacs <i@izs.me>
Mon, 19 Aug 2013 23:05:44 +0000 (16:05 -0700)
commit5555318bf375a3edc17179b09b0bff1bfa9b6253
tree9c34c6c776b2c1a03193615f26c1cf092febf7b5
parentfe0f12b100c4cf33db42eab561f4bca8875909ad
http: removed headers stay removed

This allows automatically-inserted headers to be removed permanently by
calling OutgoingMessage.removeHeader() on them, as if they were normal
headers.
lib/_http_outgoing.js
test/simple/test-http-remove-header-stays-removed.js [new file with mode: 0644]