use IO::Socket qw[AF_INET inet_aton];
use Carp;
use utf8;
+use URI::http;
+use URI::https;
use URI::QueryParam;
__PACKAGE__->mk_accessors(
=head2 $req->query_parameters
+=head2 $req->query_params
+
Returns a reference to a hash containing query string (GET) parameters. Values can
be either a scalar or an arrayref containing scalars.
next unless defined $value;
for ( ref $value eq 'ARRAY' ? @$value : $value ) {
$_ = "$_";
- utf8::encode( $_ );
+ utf8::encode( $_ ) if utf8::is_utf8($_);
}
};