$headers ) {
$headers = [];
}
elsif ( not ref $headers ) {
require JSON::MaybeXS;
$headers = JSON::MaybeXS::decode_json $headers;
}
return $self->error( 500 ) if 'ARRAY' ne ref $headers;
thout
leading slash. The value of a key may be either an array reference or a string
containing a JSON encoding of an array. In either case it is taken to mean the
L<PSGI> header array for the resourc