Cover whitespace-trimmed weak If-None-Match parsing

Co-authored-by: Theo Browne <[email protected]>
This commit is contained in:
Cursor AgentandTheo Browne committed 2026-02-10 04:14:38 +00:00
1 parent 5493a814b7
commit b36185d40e
1 file changed
+1
+1
View File
@@ -985,6 +985,7 @@ describe("ifNoneMatchSatisfied", () => {
expect(ifNoneMatchSatisfied("W/\"abc\"", "\"abc\"")).toBe(true);
expect(ifNoneMatchSatisfied("\"abc\"", "W/\"abc\"")).toBe(true);
expect(ifNoneMatchSatisfied("w/\"abc\"", "\"abc\"")).toBe(true);
expect(ifNoneMatchSatisfied(" W/\"abc\" ", "\"abc\"")).toBe(true);
});
it("does not match non-identical etags", () => {