Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestRoundTripGzip (0.27 sec)

  1. src/net/http/transport_test.go

    	{"gzip", "gzip", true},
    }
    
    // Test that the modification made to the Request by the RoundTripper is cleaned up
    func TestRoundTripGzip(t *testing.T) { run(t, testRoundTripGzip) }
    func testRoundTripGzip(t *testing.T, mode testMode) {
    	const responseBody = "test response body"
    	ts := newClientServerTest(t, mode, HandlerFunc(func(rw ResponseWriter, req *Request) {
    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