From 88aed988f9646eb22caa15800e8d804f6d7c35f5 Mon Sep 17 00:00:00 2001 From: Marius Date: Thu, 26 Nov 2015 16:25:59 +0100 Subject: [PATCH] Ensure empty body in HEAD response --- head_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/head_test.go b/head_test.go index b3d9026..9b572bd 100644 --- a/head_test.go +++ b/head_test.go @@ -61,5 +61,9 @@ func TestHead(t *testing.T) { "Tus-Resumable": "1.0.0", }, Code: http.StatusNotFound, + ResHeader: map[string]string{ + "Content-Length": "0", + }, + ResBody: "", }).Run(handler, t) }