- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for withFts (0.09 sec)
-
src/net/http/client_test.go
body := issue18239Body{&readCallsAtomic, &closeCallsAtomic, someErr} req, err := NewRequest("POST", ts.URL, body) if err != nil { t.Fatal(err) } req = req.WithT(t) _, err = tr.RoundTrip(req) if err != someErr { t.Errorf("Got error: %v; want Request.Body read error: %v", err, someErr) } // And verify that our Body wasn't used multiple times, which
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:30:50 UTC 2024 - 63.8K bytes - Viewed (0) -
src/net/http/transport.go
default: } pc.cancelRequest(context.Cause(req.ctx)) } } } // tLogKey is a context WithValue key for test debugging contexts containing // a t.Logf func. See export_test.go's Request.WithT method. type tLogKey struct{} func (tr *transportRequest) logf(format string, args ...any) { if logf, ok := tr.Request.Context().Value(tLogKey{}).(func(string, ...any)); ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 91K bytes - Viewed (0)