Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/net/http/clientserver_test.go

    				t.Errorf("%s Accept-Encoding = %q; want empty", r.Proto, ae)
    			}
    		},
    	}.run(t)
    }
    
    // Test304Responses verifies that 304s don't declare that they're
    // chunking in their response headers and aren't allowed to produce
    // output.
    func Test304Responses(t *testing.T) { run(t, test304Responses) }
    func test304Responses(t *testing.T, mode testMode) {
    	cst := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
Back to top