From 4344ba8b5d216b073c240a3cca49e5e7f49d95ff Mon Sep 17 00:00:00 2001 From: Kevin van Zonneveld Date: Wed, 8 May 2013 15:55:13 +0200 Subject: [PATCH] Content-Range is deprecated as of 0.2 --- src/cmd/tusd/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/tusd/main.go b/src/cmd/tusd/main.go index 3341c12..90c2b75 100644 --- a/src/cmd/tusd/main.go +++ b/src/cmd/tusd/main.go @@ -56,7 +56,7 @@ func main() { // 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, Final-Length") + w.Header().Add("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept, Content-Disposition, Final-Length") w.Header().Add("Access-Control-Expose-Headers", "Location, Range, Content-Disposition") if r.Method == "OPTIONS" {