no metadata flag for TUS-Extension exists

This commit is contained in:
Acconut 2015-03-08 00:10:22 +01:00
parent 5772ec458f
commit 9a5dc53c8d
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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",