This commit is contained in:
6543 2022-07-15 20:58:15 +02:00
parent b8ec53c52d
commit 4459ddc45a
No known key found for this signature in database
GPG key ID: C99B82E40B027BAE

View file

@ -59,6 +59,8 @@ func TestGetContent(t *testing.T) {
assert.EqualValues(t, "text/html; charset=utf-8", resp.Header.Get("Content-Type"))
assert.True(t, getSize(resp.Body) > 100)
assert.Len(t, resp.Header.Get("ETag"), 42)
// TODO test get of non cachable content (content size > fileCacheSizeLimit)
}
func TestCustomDomain(t *testing.T) {