PageRenderTime 22ms CodeModel.GetById 12ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/t/010_core/response-coerce_headers.t

http://github.com/http-engine/HTTP-Engine
Unknown | 12 lines | 10 code | 2 blank | 0 comment | 0 complexity | 5c47b7700143b76a4ffc6c08d3f7c3bd MD5 | raw file
 1use strict;
 2use warnings;
 3use Test::More tests => 1;
 4use HTTP::Engine::Response;
 5
 6my $res = HTTP::Engine::Response->new(
 7    headers => {
 8        'X-Foo' => 'bar',
 9    },
10);
11is $res->header('X-Foo'), 'bar';
12