Closed macyabbey closed 4 weeks ago
@daveshanley for your consideration
@daveshanley Nice! Let me know if I can do anything else to help. FYI I don't have permissions to merge.
@daveshanley Nice! Let me know if I can do anything else to help. FYI I don't have permissions to merge.
Will merge today, thanks!
Noticed that the
Accept
header was not considered when wiretap was selecting from possible mock responses, while theContent-Type
header was.This change makes wiretap consider the client's Accept header (as a very basic form of mocking content negotation) when deciding what if any example should be used for a mock response.