drewzboto / grunt-connect-proxy

Grunt Connect support for proxying API calls during development
MIT License
424 stars 122 forks source link

Hiding headers should be case insensitive #111

Closed matthieubulte closed 9 years ago

matthieubulte commented 9 years ago

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.