Ensure empty body in HEAD response
This commit is contained in:
parent
9a943a4896
commit
88aed988f9
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue