Ensure empty body in HEAD response

This commit is contained in:
Marius 2015-11-26 16:25:59 +01:00
parent 9a943a4896
commit 88aed988f9
1 changed files with 4 additions and 0 deletions

View File

@ -61,5 +61,9 @@ func TestHead(t *testing.T) {
"Tus-Resumable": "1.0.0", "Tus-Resumable": "1.0.0",
}, },
Code: http.StatusNotFound, Code: http.StatusNotFound,
ResHeader: map[string]string{
"Content-Length": "0",
},
ResBody: "",
}).Run(handler, t) }).Run(handler, t)
} }