MCPcopy Index your code
hub / github.com/zalando/skipper / serveHeaderWalk

Function serveHeaderWalk

script/script.go:400–404  ·  view source on GitHub ↗
(h http.Header)

Source from the content-addressed store, hash-verified

398}
399
400func serveHeaderWalk(h http.Header) func(lua.LValue, lua.LValue) {
401 return func(k, v lua.LValue) {
402 h.Set(k.String(), v.String())
403 }
404}
405
406func getContextValue(f filters.FilterContext) func(*lua.LState) int {
407 var request, response, state_bag, path_param *lua.LTable

Callers 1

serveTableWalkFunction · 0.85

Calls 2

SetMethod · 0.65
StringMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…