hibri / HttpMock

A library for creating Http servers on the fly in tests and stubbing responses
MIT License
128 stars 44 forks source link

Support matching requests using headers #72

Closed adamreeve closed 7 years ago

adamreeve commented 7 years ago

Fixes #71

I've mostly followed the same approach that is used to match query string parameters.

adamreeve commented 7 years ago

I'm not sure why appveyor says it can't build non-mergeable pull request, there aren't any conflicts. I'll try closing and re-opening the PR.

hibri commented 7 years ago

Thanks for this. Looks like it was simpler than I thought. Could you please address the comments I've made, and I'll merge and publish a new version.

adamreeve commented 7 years ago

Thanks @hibri, I've made the changes you requested.

hibri commented 7 years ago

Thanks @adamreeve this is now published.