From c8a4f227b6de69e565fc76b5b0f1ca2aba38aaff Mon Sep 17 00:00:00 2001 From: Stefan Wojcik Date: Sun, 16 Oct 2016 18:47:49 -0400 Subject: extra test with implicit quality --- testdata.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/testdata.json b/testdata.json index 0aafd05..2ceee39 100644 --- a/testdata.json +++ b/testdata.json @@ -194,6 +194,14 @@ "application/json;q=1.0", "*/* match should pick an acceptable type with the highest quality" ], + [ + [ + ["text/html;q=0.9", "application/json", "text/plain;q=0.1"], + "*/*" + ], + "application/json", + "*/* match should pick an acceptable type with the highest quality, even if it's implicit" + ], [ [ ["application/json", "text/html"], -- cgit v1.2.1