Provide a preprocessor that can modify existing headers #580
Labels
status: superseded
Superseded by another issue
type: enhancement
Enhancement that adds a new feature
I know there is a preprocessor to remove the header. But I could not find a preprocessor that could add or modify headers. How about providing a preprocessor that supports add, set, and remove headers like a
modifyParameters
onPreprocessors
? If you do not mind, I want PR.For example, it might be useful in the following case:
Below is one of the generated
.adoc
files by the test code.http-request.adoc
The value of the
Authorization
header must be valid to pass the test. But, documents should not expose validAuthorization
header value. In this case, I want to modify the value of theAuthorization
header to an invalid value through preprocessor.The text was updated successfully, but these errors were encountered: