no metadata flag for TUS-Extension exists
This commit is contained in:
parent
5772ec458f
commit
9a5dc53c8d
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue