From 0af9ef3827e681fb792e48d2188d81075829a17b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Geisendo=CC=88rfer?= Date: Sun, 7 Apr 2013 10:18:07 +0200 Subject: [PATCH] Consistent Case --- src/cmd/tusd/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/tusd/http.go b/src/cmd/tusd/http.go index f644c2d..e099a67 100644 --- a/src/cmd/tusd/http.go +++ b/src/cmd/tusd/http.go @@ -74,7 +74,7 @@ func route(w http.ResponseWriter, r *http.Request) { // routes and methods that need it. w.Header().Add("Access-Control-Allow-Origin", "*") w.Header().Add("Access-Control-Allow-Methods", "HEAD,GET,PUT,POST,DELETE") - w.Header().Add("Access-Control-Allow-Headers", "Origin, x-requested-with, content-type, accept, Content-Range, Content-Disposition") + w.Header().Add("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept, Content-Range, Content-Disposition") w.Header().Add("Access-Control-Expose-Headers", "Location, Range, Content-Disposition") if r.Method == "OPTIONS" {