Cover whitespace-trimmed weak If-None-Match parsing
Co-authored-by: Theo Browne <[email protected]>
This commit is contained in:
1 parent
5493a814b7
commit
b36185d40e
1 file changed
+1
@@ -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", () => {
|
||||
|
||||
Reference in new issue
Block a user