mswjs / source

Generate MSW request handlers from various sources (HAR files, OpenAPI documents, etc).
https://source.mswjs.io
134 stars 5 forks source link

feat(fromTraffic): match query parameters #46

Closed weyert closed 2 months ago

weyert commented 2 months ago

Add support to strictly match query parameters of a HAR file's request entry by matching the query string with the queryString-property of the entry.

fixes #45

kettanaito commented 2 months ago

TIL

HappyDOM returns case-sensitive header names while neither the browser nor Node.js does that. Header names are lowercased per spec.

kettanaito commented 2 months ago

Released: v0.2.0 🎉

This has been released in v0.2.0!

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


Predictable release automation by @ossjs/release.