Replies: 1 comment 3 replies
-
function envoy_on_request(request_handle)
-- Make an HTTP call to an upstream host with the following headers, body, and timeout.
val = request_handle:headers():get("<xxxxx>")
request_handle:logWarn("get result: " .. val)
end |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to add WAF as sidecar to envoy gateway, I was able to do this using EnvoyPatchPolicy using lua script, for my use case I need to get the raw http request headers, how can I get the same ?
Beta Was this translation helpful? Give feedback.
All reactions