Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for wantSum (0.15 sec)

  1. src/net/http/transport_test.go

    	res, err := cst.c.Get(cst.ts.URL)
    	if res != nil {
    		defer res.Body.Close()
    	}
    	got := fmt.Sprint(err)
    	wantSub := "too many 1xx informational responses"
    	if !strings.Contains(got, wantSub) {
    		t.Errorf("Get error = %v; want substring %q", err, wantSub)
    	}
    }
    
    // Issue 26161: the HTTP client must treat 101 responses
    // as the final response.
    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