/t/010_core/response-coerce_headers.t
http://github.com/http-engine/HTTP-Engine · Raku · 12 lines · 10 code · 2 blank · 0 comment · 0 complexity · 5c47b7700143b76a4ffc6c08d3f7c3bd MD5 · raw file
- use strict;
- use warnings;
- use Test::More tests => 1;
- use HTTP::Engine::Response;
- my $res = HTTP::Engine::Response->new(
- headers => {
- 'X-Foo' => 'bar',
- },
- );
- is $res->header('X-Foo'), 'bar';