HTTP-Lint
view release on metacpan or search on metacpan
REQ
HTTP/1.1 200 You need to login\r
Content-Type: text/plain\r
\r
Meow
RES
bless (['HTTP/1.1 non-close response without given size',
[19, 6, 2]], 'HTTP::Lint::Error'),
bless (['Missing Date header',
[14, 18]], 'HTTP::Lint::Warning')
], 'Bad keepalive');
cmp_deeply ([http_lint (transaction (<<REQ, <<RES))], [
POST /trololo\r
Host: Wololo\r
Accept: text/plain\r
\r
REQ
401 You need to login\r
Content-Type: text/plain\r
\r
( run in 0.858 second using v1.01-cache-2.11-cpan-71847e10f99 )