Closed mihaigeorgescu-newstore closed 5 years ago
So far nobody is interested in this feature, how do you handle this situations when you have different URL for Sandbox and Production ?
I am very interested in this. I've been busy though. Maybe @hyperspacemark has time to review?
Thanks for your work on this @mihaigeorgescu-newstore!
📫
PR was updated, the url check is performed directly on the URLComponents. @eliperkins could you have another look at it ?
Closing as these branches have diverged too far for this PR to be valuable
This PR adds the possibility to ignore the parts of the url when comparing requests. I added
ignoreURLComponents
options to theSession
. This is useful when you are using two environments, sandbox and production. And the request may have a different scheme, port or host.