X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FActionRole%2FScheme.pm;h=240538dc9637bfd4698b9c6cea96d5f2b0dc2e08;hp=edd211d5085e7b126d4d8c05d325e9dd4907b13d;hb=473078ffb70c9a5585a6b190fc973f5e9000c11b;hpb=1380fba87394b8ee11d9f229b45feb41830174e3 diff --git a/lib/Catalyst/ActionRole/Scheme.pm b/lib/Catalyst/ActionRole/Scheme.pm index edd211d..240538d 100644 --- a/lib/Catalyst/ActionRole/Scheme.pm +++ b/lib/Catalyst/ActionRole/Scheme.pm @@ -15,7 +15,7 @@ around ['match','match_captures'] => sub { around 'list_extra_info' => sub { my ($orig, $self, @args) = @_; return { - %{ $self->$orig(@args) }, + %{ $self->$orig(@args) }, Scheme => $self->attributes->{Scheme}[0]||'', }; }; @@ -24,7 +24,7 @@ around 'list_extra_info' => sub { =head1 NAME -Catalyst::ActionRole::Schema - Match on HTTP Request Schema +Catalyst::ActionRole::Scheme - Match on HTTP Request Scheme =head1 SYNOPSIS @@ -48,7 +48,7 @@ Catalyst::ActionRole::Schema - Match on HTTP Request Schema =head1 DESCRIPTION -This is an action role that lets your L match on the Scheme +This is an action role that lets your L match on the scheme type of the request. Typically this is C or C but other common schemes that L can handle include C and C (web socket and web socket secure). @@ -82,7 +82,7 @@ Around method modifier that return 1 if the scheme matches =head2 list_extra_info -Add the scheme info contenif present to the debug screen. +Add the scheme declaration if present to the debug screen. =head1 AUTHORS