Skip to content

Commit

Permalink
Support HTTP method extraction in RLS config
Browse files Browse the repository at this point in the history
Adding an optional field to allow extraction of the HTTP verb/method in
RLS route key.
  • Loading branch information
varunramc-g committed Aug 30, 2024
1 parent 50ff5a3 commit 6ef19cf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions grpc/lookup/v1/rls_config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ message HttpKeyBuilder {
// for example if you are suppressing a lot of information from the URL, but
// need to separately cache and request URLs with that content.
map<string, string> constant_keys = 5;

// If specified, the HTTP method/verb will be extracted under this key name.
string method = 6;
}

message RouteLookupConfig {
Expand Down

0 comments on commit 6ef19cf

Please sign in to comment.