- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestServeFileZippingResponseWriter (0.24 sec)
-
src/net/http/fs_test.go
t.Fatal("reading Body:", err) } if s := string(b); s != string(contents) { t.Errorf("for path %q got %q, want %q", filename, s, contents) } res.Body.Close() } func TestServeFileZippingResponseWriter(t *testing.T) { // This test exercises a pattern which is incorrect, // but has been observed enough in the world that we don't want to break it. // // The server is setting "Content-Encoding: gzip",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 23:39:44 UTC 2024 - 49.9K bytes - Viewed (0)