- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestReadResponse (0.33 sec)
-
src/net/http/response_test.go
}, "Your Authentication failed.\r\n", }, } // tests successful calls to ReadResponse, and inspects the returned Response. // For error cases, see TestReadResponseErrors below. func TestReadResponse(t *testing.T) { for i, tt := range respTests { resp, err := ReadResponse(bufio.NewReader(strings.NewReader(tt.Raw)), tt.Resp.Request) if err != nil { t.Errorf("#%d: %v", i, err) continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 19:01:29 UTC 2024 - 23.6K bytes - Viewed (0)