Skip to content

Commit

Permalink
Merge branch 'kgston-feature/kgston/add-osd-version'
Browse files Browse the repository at this point in the history
  • Loading branch information
abutaha committed Mar 7, 2023
2 parents d1ba5e8 + f677181 commit 826eeac
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions aws-es-proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -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])
}
Expand Down

0 comments on commit 826eeac

Please sign in to comment.