HTTPretty icon indicating copy to clipboard operation
HTTPretty copied to clipboard

Is there a support to match headers?

Open stribny opened this issue 5 years ago • 1 comments

I'd like to be able to provide set of required headers to register_uri so that the URL is mocked only when the headers match. Is this possible?

stribny avatar Aug 21 '19 16:08 stribny

This would be handy for us too, as we're trying to use HTTPretty to test a SOAP API, where there's only a single IP and different "endpoints" are determined by a SOAPAction header only

jamesL92 avatar Nov 10 '22 14:11 jamesL92