AnyEvent-Net-Curl-Queued
view release on metacpan or search on metacpan
http://localhost/manual/tr/mpm.html
http://localhost/manual/fr/mod/mod_dav_fs.html
http://localhost/manual/tr/mod/mod_autoindex.html
http://localhost/manual/tr/mod/mod_proxy_scgi.html
http://localhost/manual/ja/mod/mod_ext_filter.html
http://localhost/manual/zh-cn/mod/mod_auth_digest.html
http://localhost/manual/fr/mod/mod_autoindex.html
http://localhost/manual/ja/programs/htdbm.html
http://localhost/manual/ko/mod/directive-dict.html
http://localhost/manual/de/mod/mod_headers.html
http://localhost/manual/en/mod/mod_charset_lite.html
http://localhost/manual/fr/programs/apachectl.html
http://localhost/manual/zh-cn/mod/mod_proxy_ftp.html
http://localhost/manual/ja/platform/ebcdic.html
http://localhost/manual/ja/mod/beos.html
http://localhost/manual/tr/mod/mod_authz_host.html
http://localhost/manual/ko/programs/other.html
http://localhost/manual/tr/programs/dbmmanage.html
http://localhost/manual/ko/howto/ssi.html
http://localhost/manual/pt-br/mod/mod_log_config.html
http://localhost/manual/tr/stopping.html
http://localhost/manual/fr/mod/mod_ext_filter.html
http://localhost/manual/ja/mod/mod_asis.html
http://localhost/manual/zh-cn/programs/other.html
http://localhost/manual/en/mod/mod_suexec.html
http://localhost/manual/fr/programs/ab.html
http://localhost/manual/es/programs/apachectl.html
http://localhost/manual/pt-br/mod/mod_file_cache.html
http://localhost/manual/es/programs/htcacheclean.html
http://localhost/manual/fr/mod/mod_expires.html
http://localhost/manual/fr/mod/mod_usertrack.html
http://localhost/manual/fr/mod/mod_charset_lite.html
http://localhost/manual/es/mod/index.html
http://localhost/manual/ko/mod/mod_include.html
http://localhost/manual/zh-cn/env.html
http://localhost/manual/zh-cn/mod/mod_deflate.html
http://localhost/manual/es/developer/request.html
http://localhost/manual/de/mod/mod_authn_file.html
http://localhost/manual/de/mod/mpmt_os2.html
http://localhost/manual/fr/vhosts/mass.html
http://localhost/manual/en/mod/index.html
http://localhost/manual/en/caching.html
http://localhost/manual/en/programs/rotatelogs.html
http://localhost/manual/de/mod/mod_echo.html
http://localhost/manual/ko/misc/perf-tuning.html
http://localhost/manual/tr/mod/worker.html
http://localhost/manual/zh-cn/mod/mod_authz_user.html
http://localhost/manual/tr/mod/mod_negotiation.html
http://localhost/manual/ko/mod/mod_negotiation.html
http://localhost/manual/fr/misc/index.html
http://localhost/manual/de/rewrite/proxy.html
http://localhost/manual/ko/mod/mod_proxy_ajp.html
http://localhost/manual/zh-cn/mod/mod_charset_lite.html
http://localhost/manual/tr/mod/mod_actions.html
http://localhost/manual/pt-br/sections.html
http://localhost/manual/tr/install.html
http://localhost/manual/en/mod/mpmt_os2.html
http://localhost/manual/fr/howto/cgi.html
http://localhost/manual/ko/mod/mod_authn_anon.html
http://localhost/manual/fr/rewrite/remapping.html
http://localhost/manual/de/mod/quickreference.html
http://localhost/manual/de/mod/mod_ssl.html
http://localhost/manual/fr/sections.html
http://localhost/manual/ja/mod/mod_dumpio.html
http://localhost/manual/ja/mod/mod_status.html
http://localhost/manual/ja/faq/index.html
http://localhost/manual/fr/mod/mod_suexec.html
http://localhost/manual/de/env.html
http://localhost/manual/zh-cn/rewrite/avoid.html
http://localhost/manual/pt-br/mod/mod_authz_owner.html
http://localhost/manual/ja/rewrite/rewritemap.html
http://localhost/manual/zh-cn/mod/mod_dir.html
http://localhost/manual/tr/mod/mod_authn_dbm.html
http://localhost/manual/ko/mod/mod_charset_lite.html
http://localhost/manual/de/mod/mod_include.html
http://localhost/manual/de/howto/ssi.html
http://localhost/manual/de/mod/mod_charset_lite.html
http://localhost/manual/pt-br/mod/mod_authn_dbm.html
http://localhost/manual/tr/new_features_2_2.html
http://localhost/manual/zh-cn/mod/mod_ssl.html
http://localhost/manual/ko/mod/mod_status.html
http://localhost/manual/tr/mod/mod_speling.html
http://localhost/manual/ko/howto/cgi.html
http://localhost/manual/ko/mod/mod_authz_dbm.html
http://localhost/manual/pt-br/mod/mod_cern_meta.html
http://localhost/manual/tr/mod/quickreference.html
http://localhost/manual/de/new_features_2_2.html
lib/AnyEvent/Net/Curl/Queued/Easy.pm view on Meta::CPAN
}
while (my ($key, $val) = each %param) {
$key = AnyEvent::Net::Curl::Const::opt($key);
if ($key == Net::Curl::Easy::CURLOPT_POSTFIELDS) {
my $is_json = 0;
($val, $is_json) = $self->_setopt_postfields($val);
$orig->($self =>
Net::Curl::Easy::CURLOPT_HTTPHEADER,
[ 'Content-Type: application/json; charset=utf-8' ],
) if $is_json;
} elsif ($key == Net::Curl::Easy::CURLOPT_ENCODING) {
$self->_autodecoded(1);
$val = $self->_setopt_encoding($val);
}
$orig->($self => $key, $val);
}
} else {
carp "Specify at least one OPTION/VALUE pair!";
}
lib/AnyEvent/Net/Curl/Queued/Easy.pm view on Meta::CPAN
$self->setopt(
encoding => '',
followlocation => 1,
useragent => 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)',
verbose => 1,
);
Complete list of options: L<http://curl.haxx.se/libcurl/c/curl_easy_setopt.html>
If C<CURLOPT_POSTFIELDS> is a C<HashRef> or looks like a valid JSON (validates via L<JSON>),
it is encoded as UTF-8 and C<Content-Type: application/json; charset=utf-8> header is set automatically.
=head2 getinfo(VAR_NAME [, VAR_NAME])
Extends L<Net::Curl::Easy> C<getinfo()> so it is able to get several variables at once;
C<HashRef> parameter under void context will fill respective values in the C<HashRef>:
my $x = {
content_type => 0,
speed_download => 0,
primary_ip => 0,
( run in 0.888 second using v1.01-cache-2.11-cpan-4d50c553e7e )