From: Dave Rolsky Date: Sun, 23 Jan 2011 18:11:24 +0000 (-0600) Subject: Clarify final Accept rule for browser-ness X-Git-Tag: 0.89~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Action-REST.git;a=commitdiff_plain;h=78d66407cad28ff071f3f202e191dbc1072e7c97 Clarify final Accept rule for browser-ness --- diff --git a/lib/Catalyst/TraitFor/Request/REST/ForBrowsers.pm b/lib/Catalyst/TraitFor/Request/REST/ForBrowsers.pm index fe37735..e49c853 100644 --- a/lib/Catalyst/TraitFor/Request/REST/ForBrowsers.pm +++ b/lib/Catalyst/TraitFor/Request/REST/ForBrowsers.pm @@ -175,7 +175,8 @@ If the client provides an Accept header and accepts either "text/html" or =item * -If it provides an Accept header of any sort, it is I a browser. +If it provides an Accept header of any sort that doesn't match one of the +above criteria, it is I a browser. =item *