We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d96bdde commit 5b88aadCopy full SHA for 5b88aad
1 file changed
src/net/http/fs_test.go
@@ -849,6 +849,15 @@ func TestServeContent(t *testing.T) {
849
wantStatus: 200,
850
wantContentType: "text/css; charset=utf-8",
851
},
852
+ "if_none_match_malformed": {
853
+ file: "testdata/style.css",
854
+ serveETag: `"foo"`,
855
+ reqHeader: map[string]string{
856
+ "If-None-Match": `,`,
857
+ },
858
+ wantStatus: 200,
859
+ wantContentType: "text/css; charset=utf-8",
860
861
"range_good": {
862
file: "testdata/style.css",
863
serveETag: `"A"`,
0 commit comments