15 has 'array' => (is => 'ro');
16 has 'hash' => (is => 'ro');
22 use Moose::Util::TypeConstraints;
26 => where { $_->isa('HTTPHeader') };
30 => via { HTTPHeader->new(array => $_[0]) }
32 => via { HTTPHeader->new(hash => $_[0]) };
39 default => sub { [ 'content-type', 'text/html' ] }
44 isa_ok($r, 'Request');
48 } '... this coerces and passes the type constraint even with lazy';