mswjs / interceptors

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

fix(ClientRequest): support "http.request()" and "http.get()" without any arguments #468

Closed kettanaito closed 10 months ago

kettanaito commented 10 months ago
kettanaito commented 10 months ago

Hey, @mikicho. I'm adding support for http.request() without any arguments as per your suggestion. I've also spotted that http.get() can be called without any arguments too. We use the same normalization function for both, so both will be supported now.

kettanaito commented 10 months ago

Released: v0.25.7 🎉

This has been released in v0.25.7!

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.