Group
Extension

Matches 1

Mojo-Server-AWSLambda ( P/PR/PRAJITH/Mojo-Server-AWSLambda-0.01.tar.gz, PRAJITH, 2020; MetaCPAN )
Mojo-Server-AWSLambda/lib/Mojo/Server/AWSLambda/Response.pm ( view source; MetaCPAN )
esponse;

use Mojo::Base 'Mojo::Message::Response';
use Mojo::JSON qw(decode_json encode_json);

use MIME::Base64;
use Try::Tiny;
use JSON::Types;
use Encode;

sub output {
    my $self = shift;

    
ingleValueHeaders->{'content-type'};
    my $isBase64Encoded = $type !~ m(^text/.*|application/(:?json|javascript|xml))i;
    if ($isBase64Encoded) {
        $body = encode_base64 $body, '';
    } 
  

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.