diff --git a/aws-es-proxy.go b/aws-es-proxy.go index e8b28562..06ae1168 100644 --- a/aws-es-proxy.go +++ b/aws-es-proxy.go @@ -422,6 +422,14 @@ func addHeaders(src, dest http.Header) { dest.Add("Kbn-Version", val[0]) } + if val, ok := src["Osd-Version"]; ok { + dest.Add("Osd-Version", val[0]) + } + + if val, ok := src["Osd-Xsrf"]; ok { + dest.Add("Osd-Xsrf", val[0]) + } + if val, ok := src["Content-Type"]; ok { dest.Add("Content-Type", val[0]) }