blib/lib/Plack/Middleware/ParseContent.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 7 | 14 | 50.0 |
line | true | false | branch |
---|---|---|---|
88 | 0 | 2 | unless ref $$self{$par} eq 'CODE' |
102 | 4 | 0 | if ($method eq 'POST' or $method eq 'PUT') |
106 | 0 | 4 | if ($$env{'CONTENT_TYPE'} eq 'application/x-www-form-urlencoded') { } |
114 | 4 | 0 | if ($req->content_type) { } |
122 | 4 | 0 | if ($data and $acceptedMimeType) |
124 | 0 | 4 | if $@ |
129 | 4 | 0 | if $parsed |