X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FResponse.pm;h=834b3495e55efeec46e733eaba4ae6e263a7e728;hb=6f90f709c791d70f9bd2fb8d2734bbf2b7236136;hp=818ae86c11230e82c8a1111e27af50e724d28ccd;hpb=fe3083a8f05a03e6da5f5b72ef1a2e105a83b4b8;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Response.pm b/lib/Catalyst/Response.pm index 818ae86..834b349 100644 --- a/lib/Catalyst/Response.pm +++ b/lib/Catalyst/Response.pm @@ -14,6 +14,7 @@ has status => (is => 'rw', default => 200); has finalized_headers => (is => 'rw', default => 0); has headers => ( is => 'rw', + isa => 'HTTP::Headers', handles => [qw(content_encoding content_length content_type header)], default => sub { HTTP::Headers->new() }, required => 1,