Use gin-gonic/contrib/secure instead of deprecated module

This commit is contained in:
2022-05-07 12:40:25 +02:00
parent 1ee7256506
commit ca1d002974
5 changed files with 14 additions and 24 deletions

View File

@ -165,6 +165,7 @@ func TestClientPort(t *testing.T) {
assert.Equal(t, 200, w.Code)
assert.Equal(t, contentType.text, w.Header().Get("Content-Type"))
assert.Equal(t, tt.expected, w.Body.String())
t.Log(w.Header())
})
}
}