Details
-
Enhancement
-
Resolution: Done
-
Major
-
None
Description
Another handy plugin that I have near completion is a simple header policy. At the moment it allows:
- Adding a header name and value to request, response, or both.
- Stripping a header from request, response or both based upon: header name, header value, or a regex pattern (applicable to both). As this is JSON schema based, unfortunately I can't do any advanced early validation to ensure the regex is valid.
Does anyone think there would be value to adding any further functionality? For instance, set the header value as something from drop-down list : org_id, app_id, ...