Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Test1xxHeadersNotModifiedAfterRoundTrip (0.43 sec)

  1. src/net/http/httputil/reverseproxy_test.go

    	}
    	defer res.Body.Close()
    	body, _ := io.ReadAll(res.Body)
    	if got, want := string(body), content; got != want {
    		t.Errorf("got response %q, want %q", got, want)
    	}
    }
    
    func Test1xxHeadersNotModifiedAfterRoundTrip(t *testing.T) {
    	// https://go.dev/issue/65123: We use httptrace.Got1xxResponse to capture 1xx responses
    	// and proxy them. httptrace handlers can execute after RoundTrip returns, in particular
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 54.6K bytes
    - Viewed (0)
Back to top