Hi, Is there a way to exclude/ignore some specific headers from being proxied with wiremock proxying/recording? Please let me know if there are any options available.
For instance, I would like to exclude the header X-forwarded-for before wiremock proxying the request to the destination.
t
Tom
03/27/2023, 10:36 AM
Hi @Devaraj Rathinasamy the only way to do this at the moment is to write a
StubRequestFilter
extension class that removes the header prior to subsequent processing.