package Catalyst::TraitFor::Request::REST::ForBrowsers;
+
use Moose::Role;
use namespace::autoclean;
with 'Catalyst::TraitFor::Request::REST';
-our $VERSION = '0.82';
-$VERSION = eval $VERSION;
-
has _determined_real_method => (
is => 'rw',
isa => 'Bool',
=head1 SYNOPSIS
package MyApp;
+ use Moose;
+ use namespace::autoclean;
- use Catalyst::TraitFor::Request::REST::ForBrowsers;
+ use Catalyst;
+ use CatalystX::RoleApplicator;
+ extends 'Catalyst';
+ __PACKAGE__->apply_request_class_roles(qw[
+ Catalyst::TraitFor::Request::REST::ForBrowsers
+ ]);
=head1 DESCRIPTION
=item *
-If it provides an Accept header of any sort, it is I<not> a browser.
+If it provides an Accept header of any sort that doesn't match one of the
+above criteria, it is I<not> a browser.
=item *