From 9a5dc53c8da8705c7ae13de43659ecc8d4133bf2 Mon Sep 17 00:00:00 2001 From: Acconut Date: Sun, 8 Mar 2015 00:10:22 +0100 Subject: [PATCH] no metadata flag for TUS-Extension exists --- handler.go | 2 +- options_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/handler.go b/handler.go index f7f7fec..38d2fe4 100644 --- a/handler.go +++ b/handler.go @@ -142,7 +142,7 @@ func (handler *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) { } header.Set("TUS-Version", "1.0.0") - header.Set("TUS-Extension", "file-creation,metadata,concatenation,termination") + header.Set("TUS-Extension", "file-creation,concatenation,termination") w.WriteHeader(http.StatusNoContent) return diff --git a/options_test.go b/options_test.go index e474e6d..03b4e40 100644 --- a/options_test.go +++ b/options_test.go @@ -15,7 +15,7 @@ func TestOptions(t *testing.T) { Method: "OPTIONS", Code: http.StatusNoContent, ResHeader: map[string]string{ - "TUS-Extension": "file-creation,metadata,concatenation,termination", + "TUS-Extension": "file-creation,concatenation,termination", "TUS-Version": "1.0.0", "TUS-Resumable": "1.0.0", "TUS-Max-Size": "400",