You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to have the same loose matching on route segments with parameters for matching against headers?
I have a use case where one of the required request headers is an Authorization: Bearer <token> header, but the<token> can change for many different reasons.
Is it possible to loose matching on the headers?
The text was updated successfully, but these errors were encountered:
Thanks for the question @xiphiaz we'll discuss this over the next week and we'll have a look at how easy it will be to implement, and respond in this issue as to our thoughts 👍
@marcelogo The scenario is the use of drakov to mock an api that requires authorization. Without this feature it means I would have to set the authorization header to a fixed value defined in the contract file. It's not really a big problem, it just makes for an extra step the use drakov as a mock
Is it possible to have the same loose matching on route segments with parameters for matching against headers?
I have a use case where one of the required request headers is an
Authorization: Bearer <token>
header, but the<token>
can change for many different reasons.Is it possible to loose matching on the headers?
The text was updated successfully, but these errors were encountered: