mswjs / interceptors

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

fix(ClientRequest): support falsy request headers #450

Closed mikicho closed 1 year ago

mikicho commented 1 year ago

Headers may be falsy: image

Apply the same logic as in createResponse

kettanaito commented 1 year ago

Released: v0.25.6 🎉

This has been released in v0.25.6!

Make sure to always update to the latest version (npm i @mswjs/interceptors@latest) to get the newest features and bug fixes.


Predictable release automation by @ossjs/release.