Polish "Provide a preprocessor for modifying request and response headers"
See gh-584
This commit is contained in:
@@ -108,12 +108,10 @@ You can also specify a different replacement if you wish.
|
||||
|
||||
|
||||
|
||||
[[customizing-requests-and-responses-preprocessors-remove-headers]]
|
||||
==== Removing Headers
|
||||
[[customizing-requests-and-responses-preprocessors-modify-headers]]
|
||||
==== Modifying Headers
|
||||
|
||||
`removeHeaders` on `Preprocessors` removes any headers from the request or response where the name is equal to any of the given header names.
|
||||
|
||||
`removeMatchingHeaders` on `Preprocessors` removes any headers from the request or response where the name matches any of the given regular expression patterns.
|
||||
You can use `modifyHeaders` on `Preprocessors` to add, set, and remove request or response headers.
|
||||
|
||||
|
||||
|
||||
@@ -125,13 +123,6 @@ Any occurrences that match a regular expression are replaced.
|
||||
|
||||
|
||||
|
||||
[[customizing-requests-and-responses-preprocessors-modify-headers]]
|
||||
==== Modifying Headers
|
||||
|
||||
You can use `modifyHeaders` on `Preprocessors` to add, set, and remove request or response headers.
|
||||
|
||||
|
||||
|
||||
[[customizing-requests-and-responses-preprocessors-modify-request-parameters]]
|
||||
==== Modifying Request Parameters
|
||||
|
||||
|
||||
Reference in New Issue
Block a user