Closed matthieubulte closed 9 years ago
Hi,
First of all , thanks for the great work done on grunt-connect-proxy, it's very a helpful package!
grunt-connect-proxy
This PR introduces the hideHeaders option that will simply remove the specified headers from the server's response.
hideHeaders
It's simply done by listening to the proxyRes event of the used proxy, and deleting the headers from the pry server's response headers.
proxyRes
It has simple unit testing and some documentation, but if you have any remark I'll be glad to modify the PR.
Thanks!
Hi,
First of all , thanks for the great work done on
grunt-connect-proxy
, it's very a helpful package!This PR introduces the
hideHeaders
option that will simply remove the specified headers from the server's response.It's simply done by listening to the
proxyRes
event of the used proxy, and deleting the headers from the pry server's response headers.It has simple unit testing and some documentation, but if you have any remark I'll be glad to modify the PR.
Thanks!