As shown in the test modification, if the user was writing headers with upper-case characters, the headers were not removed from the request. This pull request makes the header-hiding behaviour less confusing by lower-casing the user input before filtering the lower-case headers coming from the network.
I also updated the node-unit version to make it run on newer node versions.
As shown in the test modification, if the user was writing headers with upper-case characters, the headers were not removed from the request. This pull request makes the header-hiding behaviour less confusing by lower-casing the user input before filtering the lower-case headers coming from the network.
I also updated the node-unit version to make it run on newer node versions.