This filter is considered deprecated and will be removed in a future version. Consider using the HTTP Logging Service instead. |
The Delegation Response Processor (DeRP) filter rejects any request containing the X-Delegated
header.
The content of the response will match is determined by the content of the X-Delegated
header.
This filter is part of the delegation recipe.
Name: derp
Default Configuration: No configuration
Released: v7.0.0.1
Bundle: repose-filter-bundle
This filter does not require any request headers.
However, the following headers are used during processing:
X-Delegated
- Conveys delegation information.
If present, this filter will reject the request.
If absent, this filter will forward the request to the next component.
This filter does not require any preceding filters.
However, it is expected that filters which support delegation (i.e., write a delegation header to the request) will precede this filter. If no filter which supports delegation precedes this filter, this filter will forward all requests to the next component without modification.
Additionally, the HERP filter may precede this filter as part of the delegation recipe.
This filter is not strictly required by any other filters.
When delegation is used, this filter will terminate the processing chain preventing succeeding filters from running.
This filter will only modify the response status code when rejecting a delegated request (i.e., if the request contains a delegation header).
The response status code will be set to status code associated with the highest quality delegation value, or 500
if the delegation request header exists but is not parsable.
The response reason phrase will be set to the message associated with the highest quality delegation value.