What's the reason for not allowing a stub to match if you don't supply all the header info? For instance, when running tests on an iOS device, I want to stub out a request to an api which i need to supply an oauth token for. I want that token to be specified in my headers, so I do that, but I don't want to have to specify the User-Agent, as when a new version of iOS comes out, I now have to edit a bunch of tests.
What's the reason for not allowing a stub to match if you don't supply all the header info? For instance, when running tests on an iOS device, I want to stub out a request to an api which i need to supply an oauth token for. I want that token to be specified in my headers, so I do that, but I don't want to have to specify the User-Agent, as when a new version of iOS comes out, I now have to edit a bunch of tests.
What's the accepted practice here?