diff --git a/aws-es-proxy.go b/aws-es-proxy.go index 00145b37..dc4f884e 100644 --- a/aws-es-proxy.go +++ b/aws-es-proxy.go @@ -262,9 +262,7 @@ func addHeaders(src, dest http.Header) { } if val, ok := src["Content-Type"]; ok { - if val[0] == "application/json" { - dest.Add("Content-Type", "application/json") - } + dest.Add("Content-Type", val[0]) } }