Skip to content

A filter to drop "all" the request or response headers by default #2941

Open
@nitinsh99

Description

@nitinsh99

Is your feature request related to a problem? Please describe.
I can't seem to find a filter which allows me to drop all the headers or in other words whitelist only the headers that I recognize. This is around security so I can prevent unidentified headers reaching my service.

Describe the solution you'd like
A simple simple that only allows headers which is passed as an array of whitelisted headers

Describe alternatives you've considered
There doesn't seem to be any exhaustive solution as of now instead of creating my own filter.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions