raml-tester icon indicating copy to clipboard operation
raml-tester copied to clipboard

Adding more response header to ignore

Open eacarvalho opened this issue 7 years ago • 0 comments

Is there a way to add more response headers to ignore? I would like to ignore the response header "Referrer-Policy" that is added by a gateway. I looked at this class RamlChecker and there is a predefined DefaultHeaders.RESPONSE.

For X headers there is RamlDefinition.ignoringXheaders(). In the same way I would like to know if its possible something like that but to "Referrer-Policy".

eacarvalho avatar Dec 27 '17 16:12 eacarvalho