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

Function iterateResponseHeader

script/script.go:814–819  ·  view source on GitHub ↗
(f filters.FilterContext)

Source from the content-addressed store, hash-verified

812}
813
814func iterateResponseHeader(f filters.FilterContext) func(*lua.LState) int {
815 return func(s *lua.LState) int {
816 s.Push(s.NewFunction(nextHeader(f.Response().Header)))
817 return 1
818 }
819}
820
821func nextHeader(h http.Header) func(*lua.LState) int {
822 keys := make([]string, 0, len(h))

Callers 1

getResponseValueFunction · 0.85

Calls 2

nextHeaderFunction · 0.85
ResponseMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…