-
Notifications
You must be signed in to change notification settings - Fork 5.5k
http tap: add request/response trailer matching #5804
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -48,23 +48,23 @@ message MatchPredicate { | |
| // The match configuration will always match. | ||
| bool any_match = 4 [(validate.rules).bool.const = true]; | ||
|
|
||
| // HTTP request match configuration. | ||
| HttpRequestMatch http_request_match = 5; | ||
| // HTTP request headers match configuration. | ||
| HttpHeadersMatch http_request_headers_match = 5; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. should we organize this a bit, just like how BufferedTrace organized? i.e. ?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is how I had this originally, but IMO we don't want this, because it makes it much more confusing on how to apply and/or logic. |
||
|
|
||
| // HTTP response match configuration. | ||
| HttpResponseMatch http_response_match = 6; | ||
| } | ||
| } | ||
| // HTTP request trailers match configuration. | ||
| HttpHeadersMatch http_request_trailers_match = 6; | ||
|
|
||
| // HTTP request match configuration. | ||
| message HttpRequestMatch { | ||
| // HTTP request headers to match. | ||
| repeated api.v2.route.HeaderMatcher headers = 1; | ||
| // HTTP response headers match configuration. | ||
| HttpHeadersMatch http_response_headers_match = 7; | ||
|
|
||
| // HTTP response trailers match configuration. | ||
| HttpHeadersMatch http_response_trailers_match = 8; | ||
| } | ||
| } | ||
|
|
||
| // HTTP response match configuration. | ||
| message HttpResponseMatch { | ||
| // HTTP response headers to match. | ||
| // HTTP headers match configuration. | ||
| message HttpHeadersMatch { | ||
| // HTTP headers to match. | ||
| repeated api.v2.route.HeaderMatcher headers = 1; | ||
| } | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.