Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for not_modified_etag_no_seek (0.16 sec)

  1. src/net/http/fs_test.go

    		},
    		"not_modified_etag": {
    			file:      "testdata/style.css",
    			serveETag: `"foo"`,
    			reqHeader: map[string]string{
    				"If-None-Match": `"foo"`,
    			},
    			wantStatus: 304,
    		},
    		"not_modified_etag_no_seek": {
    			content:   panicOnSeek{nil}, // should never be called
    			serveETag: `W/"foo"`,        // If-None-Match uses weak ETag comparison
    			reqHeader: map[string]string{
    				"If-None-Match": `"baz", W/"foo"`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
Back to top