do not convert to lower

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-05-25 17:45:24 -07:00
parent 4fbfc3dde7
commit b0370a41c0
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ func handler2(w http.ResponseWriter, r *http.Request) {
for name, headers := range r.Header {
log.Println("handler2() name =", name)
log.Println("handler2() headers =", headers)
name = strings.ToLower(name)
name = strings.(name)
for _, h := range headers {
log.Println("handler2() h =", h)