Skip serializing psgi streams when saving request
It can interfere with unit tests in some cases, like #2000
This commit is contained in:
parent
b491ed6413
commit
c0f8e8f46b
|
@ -212,6 +212,8 @@ sub storeRequest {
|
|||
my $info = {};
|
||||
$info->{content} = $req->content;
|
||||
foreach ( keys %{ $req->env } ) {
|
||||
next if $_ eq "psgi.errors";
|
||||
next if $_ eq "psgi.input";
|
||||
$info->{$_} = $req->env->{$_} unless ( ref $req->env->{$_} );
|
||||
}
|
||||
return $self->_ott->createToken($info);
|
||||
|
|
Loading…
Reference in New Issue
Block a user