Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testStreamingGet (0.2 sec)

  1. src/net/http/client_test.go

    	return nil
    }
    
    func (j *RecordingJar) logf(format string, args ...any) {
    	j.mu.Lock()
    	defer j.mu.Unlock()
    	fmt.Fprintf(&j.log, format, args...)
    }
    
    func TestStreamingGet(t *testing.T) { run(t, testStreamingGet) }
    func testStreamingGet(t *testing.T, mode testMode) {
    	say := make(chan string)
    	cst := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		w.(Flusher).Flush()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
Back to top