node-http-proxy icon indicating copy to clipboard operation
node-http-proxy copied to clipboard

[help/advice] merging headers

Open y-nk opened this issue 11 months ago • 0 comments
trafficstars

Hello,

I'm using this in the context of vite. I'd like to provide an additional cookie while using the proxy. I have thought of using 'headers': { 'cookie': '' } in my proxy options, but i'm thinking that it will conflict with the natural cookies that the browser will send to the proxy.

is there a merge strategy for this header?

Thanks for the time spent reading this.

y-nk avatar Dec 19 '24 03:12 y-nk