Don't dump psgi.input as it can't be deserialized.
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / View / Dump / Env.pm
CommitLineData
e74b3d5c 1package TestApp::View::Dump::Env;
2
3use strict;
4use base qw[TestApp::View::Dump];
5
6sub process {
7 my ( $self, $c ) = @_;
7b73c876 8 my $env = $c->engine->env;
9 return $self->SUPER::process($c, {
10 map { ($_ => $env->{$_}) }
11 grep { $_ ne 'psgi.input' }
12 keys %{ $env },
13 });
e74b3d5c 14}
15
161;
17