X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FResponse.pm;h=834b3495e55efeec46e733eaba4ae6e263a7e728;hp=818ae86c11230e82c8a1111e27af50e724d28ccd;hb=9c33163447834f558f3b13d7a0189bb4bd6cd5ec;hpb=f1446902707bffd041e9c33775c47453b7614f39 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,