dotnet / dotnet/yarp

Headers transforms support RegEx

Open
#2,073 2 comments 0 reactions 0 assignees View on GitHub
Type: Idea
Dominant language
C#
Stars
9.6k
Forks
933
Avg merge
12d 18h
Merged PRs (30d)
2

Description

### What should we add or change to make your life better?
There are header transforms that allow to remove a specific header or allow specific headers. E.g. RequestHeaderRemove, ResponseHeaderRemove, ResponseHeadersAllowed etc. In cases when I need to remove or allow multiple headers with similar names it would be more convenient to use RegEx.

### Why is this important to you?
I need to remove multiple similar headers from a proxied response. E.g. "x-foo-a", "x-foo-b" etc. Now I need to list them one by one either I use ResponseHeaderRemove or ResponseHeadersAllowed.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.