Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestTransportGzipShort (0.23 sec)

  1. src/net/http/transport_test.go

    		t.Fatalf("Content-Encoding = %q; want %q", g, e)
    	}
    }
    
    // golang.org/issue/7750: request fails when server replies with
    // a short gzip body
    func TestTransportGzipShort(t *testing.T) { run(t, testTransportGzipShort) }
    func testTransportGzipShort(t *testing.T, mode testMode) {
    	ts := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		w.Header().Set("Content-Encoding", "gzip")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
Back to top