mswjs / interceptors

Low-level network interception library.
https://npm.im/@mswjs/interceptors
MIT License
565 stars 127 forks source link

Fix Request Proxy #637

Closed mikicho closed 2 months ago

mikicho commented 2 months ago

https://github.com/nock/nock/issues/2780

Added failing test.

@kettanaito the root cause is that we use the kRawHeaders to populate the headers.

Do you have any thoughts on how to solve this conflict? I might be able to sort this out later this week, but right now I'm not sure about the best way to proceed.

kanadgupta commented 2 months ago

This may have been solved by https://github.com/mswjs/interceptors/pull/639

kettanaito commented 2 months ago

@mikicho, thanks for raising this. I believe this might be fixed by #639, just like @kanadgupta suggests. Could you please bump it in Nock and let me know if the issue still persists? Thanks.

kettanaito commented 2 months ago

🎉