From 7d3bf001d284ffbd9d555ce213241040c291f79b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Thu, 28 Apr 2016 10:41:02 +0300 Subject: Handle non-numeric q value gracefully --- testdata.json | 1 + 1 file changed, 1 insertion(+) (limited to 'testdata.json') diff --git a/testdata.json b/testdata.json index d5f079a..ab7693c 100644 --- a/testdata.json +++ b/testdata.json @@ -8,6 +8,7 @@ ["application/xml ; q=1;b=other",["application", "xml", {"q": "1", "b":"other"}]], ["application/xml ; q=2;b=other",["application", "xml", {"q": "1", "b":"other"}]], ["application/xml ; q=0",["application", "xml", {"q": "0"}]], + ["application/xml ; q=foo", ["application", "xml", {"q": "1"}]], [" *; q=.2",["*", "*", {"q": ".2"}]] ], -- cgit v1.2.1