From 8fc2ab94d1d70fbfc80cc48d97fd57aaaf1c2b5b Mon Sep 17 00:00:00 2001 From: Aleksandr Razumov Date: Tue, 14 Nov 2023 15:16:07 +0300 Subject: [PATCH] test: update content type test --- internal/integration/requests_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/integration/requests_test.go b/internal/integration/requests_test.go index 7df3d8218..586475a8c 100644 --- a/internal/integration/requests_test.go +++ b/internal/integration/requests_test.go @@ -270,7 +270,7 @@ func TestRequestBase64(t *testing.T) { defer resp.Body.Close() a.Equal(http.StatusOK, resp.StatusCode) - a.Equal("text/plain", resp.Header.Get("Content-Type")) + a.Equal("text/plain; charset=utf-8", resp.Header.Get("Content-Type")) var sb strings.Builder _, err = io.Copy(&sb, base64.NewDecoder(base64.StdEncoding, resp.Body))