- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestContentEncodingNoSniffing (0.2 sec)
-
src/net/http/serve_test.go
t.Errorf("%q. body\ngot\n%q\nwant\n%q", badTE, gotBody, wantBody) } } } // Issue 31753: don't sniff when Content-Encoding is set func TestContentEncodingNoSniffing(t *testing.T) { run(t, testContentEncodingNoSniffing) } func testContentEncodingNoSniffing(t *testing.T, mode testMode) { type setting struct { name string body []byte // setting contentEncoding as an interface instead of a string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 202K bytes - Viewed (0)