view release on metacpan or search on metacpan
t/WebService_Gyazo_setId.t view on Meta::CPAN
use Test::More tests => 7;
use lib 'lib/';
use constant {
HTTP_PROXY => 'http',
SOCKS4_PROXY => 'socks4',
SOCKS5_PROXY => 'socks',
HTTPS_PROXY => 'https',
};
view all matches for this distribution
view release on metacpan or search on metacpan
lib/WebService/OkiLab/ExtractPlace.pm view on Meta::CPAN
=back
=head1 CONFIGURATION AND ENVIRONMENT
WebService::OkiLab::ExtractPlace accesses to the Web service via http.
When it is necessary to use proxy, you may set environment variable HTTP_PROXY.
When proxy needs authentication, the following notations can be used.
HTTP_PROXY=http://user:password@host:port
You can specify proxy settings directory to LWP::UserAgent object instead of using environment variable.
=head1 DEPENDENCIES
view all matches for this distribution
view release on metacpan or search on metacpan
lib/WebService/SSLLabs.pm view on Meta::CPAN
=back
=head1 CONFIGURATION AND ENVIRONMENT
WebService::SSLLabs requires no configuration files or environment variables. However, it will use the values of C<$ENV{no_proxy}> and C<$ENV{HTTP_PROXY}> as defaults for calls to the L<https://www.ssllabs.com/ssltest> API via the LWP::UserAgent mod...
=head1 DEPENDENCIES
WebService::SSLLabs requires the following non-core modules
view all matches for this distribution
view release on metacpan or search on metacpan
lib/WebService/Slack/WebApi.pm view on Meta::CPAN
will throw an exception. This combination is illegal.
=head2 Proxy
C<opt> can contain C<env_proxy> as boolean value .
If C<env_proxy> is true then proxy settings are loaded from C<$ENV{HTTP_PROXY}> and C<$ENV{NO_PROXY}> by calling C<Furl#env_proxy> method.
See also https://metacpan.org/pod/Furl#furl-env_proxy.
=head1 METHODS
This module provides all methods declared in the API reference (https://api.slack.com/methods).
view all matches for this distribution
view release on metacpan or search on metacpan
t/06-Proxy.t view on Meta::CPAN
my $webinject = Webinject->new();
isa_ok($webinject, "Webinject", 'Object is a Webinject');
# clean env
for my $key (qw/http_proxy https_proxy HTTP_PROXY HTTPS_PROXY/) {
delete($ENV{$key});
}
##################################################
# start our test cases
view all matches for this distribution
view release on metacpan or search on metacpan
* target server (using the default WINHTTP_ACCESS_TYPE_NO_PROXY
* configuration, which the request handle will inherit from the session).
*/
if (hRequest && !bAborted) {
WINHTTP_AUTOPROXY_OPTIONS AutoProxyOptions;
WINHTTP_PROXY_INFO ProxyInfo;
DWORD cbProxyInfoSize = sizeof(ProxyInfo);
ZeroMemory(&AutoProxyOptions, sizeof(AutoProxyOptions));
ZeroMemory(&ProxyInfo, sizeof(ProxyInfo));
AutoProxyOptions.dwFlags = WINHTTP_AUTOPROXY_AUTO_DETECT;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/XML/RPC.pm view on Meta::CPAN
just before dieing.
=head1 PROXY SUPPORT
Default XML::RPC will try to use LWP::Useragent for requests,
you can set the environment variable: CGI_HTTP_PROXY to
set a proxy.
=head1 LIMITATIONS
XML::RPC will not create "bool", "dateTime.iso8601" or "base64" types
view all matches for this distribution
view release on metacpan or search on metacpan
Lite/PSGIEnv.pm view on Meta::CPAN
HTTP_USER_AGENT
HTTP_REFERER
HTTP_COOKIE
HTTP_FORWARDED
HTTP_HOST
HTTP_PROXY_CONNECTION
HTTP_ACCEPT
HTTP_ACCEPT_CHARSET
HTTP_ACCEPT_LANGUAGE
HTTP_ACCEPT_ENCODING
view all matches for this distribution
view release on metacpan or search on metacpan
local/lib/perl5/HTTP/Status.pm view on Meta::CPAN
HTTP_PAYMENT_REQUIRED (402)
HTTP_FORBIDDEN (403)
HTTP_NOT_FOUND (404)
HTTP_METHOD_NOT_ALLOWED (405)
HTTP_NOT_ACCEPTABLE (406)
HTTP_PROXY_AUTHENTICATION_REQUIRED (407)
HTTP_REQUEST_TIMEOUT (408)
HTTP_CONFLICT (409)
HTTP_GONE (410)
HTTP_LENGTH_REQUIRED (411)
HTTP_PRECONDITION_FAILED (412)
view all matches for this distribution
view release on metacpan or search on metacpan
One of B<cpanplus>, B<cpan>, B<web>, or B<reg>, this parameter specifies which method to use when retrieving a module from CPAN. Web retrievals are by parsing the CPAN website and may be faster though more error prone. To use either the CPAN or CPA...
If your environment requires the use of a proxy, simply set the environment variable as indicated below in (bash format):
F<export HTTP_PROXY=http://user:password@host.org:8080>
=item B<--modules, -f =C<string-value>>
Lists of modules to be processed can be stored in a file. Pass this parameter the name of your file. The file should contain the name of each module in a single line and the modules can be specified in any of their many forms (e.g. url, path to tar...
view all matches for this distribution
view release on metacpan or search on metacpan
lib/LWP/UserAgent.pm view on Meta::CPAN
my $real_key= $k;
my $v= $ENV{$k}
or next;
if ( $env_request_method ) {
# Need to be careful when called in the CGI environment, as
# the HTTP_PROXY variable is under control of that other guy.
next if $k =~ /^HTTP_/;
$k = "HTTP_PROXY" if $k eq "CGI_HTTP_PROXY";
}
$k = lc($k);
if (my $from_key= $seen{$k}) {
# Only warn about proxy-related env vars, not unrelated ones (GH #372)
if ($k =~ /^(.*)_proxy$/) {
lib/LWP/UserAgent.pm view on Meta::CPAN
csh or tcsh users should use the C<setenv> command to define these
environment variables.
On systems with case insensitive environment variables there exists a
name clash between the CGI environment variables and the C<HTTP_PROXY>
environment variable normally picked up by C<env_proxy>. Because of
this C<HTTP_PROXY> is not honored for CGI scripts. The
C<CGI_HTTP_PROXY> environment variable can be used instead.
=head2 no_proxy
$ua->no_proxy( @domains );
$ua->no_proxy('localhost', 'example.com');
view all matches for this distribution
view release on metacpan or search on metacpan
xs/tables/current/Apache2/ConstantsTable.pm view on Meta::CPAN
'HTTP_PAYMENT_REQUIRED',
'HTTP_FORBIDDEN',
'HTTP_NOT_FOUND',
'HTTP_METHOD_NOT_ALLOWED',
'HTTP_NOT_ACCEPTABLE',
'HTTP_PROXY_AUTHENTICATION_REQUIRED',
'HTTP_REQUEST_TIME_OUT',
'HTTP_CONFLICT',
'HTTP_GONE',
'HTTP_LENGTH_REQUIRED',
'HTTP_PRECONDITION_FAILED',
view all matches for this distribution
view release on metacpan or search on metacpan
-t9, --emulate-t9
Emulate t9 behaviour
-P, --http-proxy=URL
Use this HTTP proxy (defaults to the HTTP_PROXY environment
variable, if present)
--https-proxy=URL
Use this HTTPS proxy (defaults to the HTTP proxy or HTTPS_PROXY
environment variable, if present)
view all matches for this distribution
view release on metacpan or search on metacpan
cpan/CPAN/lib/CPAN/LWP/UserAgent.pm view on Meta::CPAN
# $self->get_basic_credentials or some equivalent and this will be
# $self->dispatched to our own get_basic_credentials method.
# Our own get_basic_credentials sets $USER and $PASSWD, two globals.
# 407 stands for HTTP_PROXY_AUTHENTICATION_REQUIRED. Which means
# although we have gone through our get_basic_credentials, the proxy
# server refuses to connect. This could be a case where the username or
# password has changed in the meantime, so I'm trying once again without
# $USER and $PASSWD to give the get_basic_credentials routine another
# chance to set $USER and $PASSWD.
view all matches for this distribution
view release on metacpan or search on metacpan
CPAN.pm-new view on Meta::CPAN
# $self->get_basic_credentials or some equivalent and this will be
# $self->dispatched to our own get_basic_credentials method.
# Our own get_basic_credentials sets $USER and $PASSWD, two globals.
# 407 stands for HTTP_PROXY_AUTHENTICATION_REQUIRED. Which means
# although we have gone through our get_basic_credentials, the proxy
# server refuses to connect. This could be a case where the username or
# password has changed in the meantime, so I'm trying once again without
# $USER and $PASSWD to give the get_basic_credentials routine another
# chance to set $USER and $PASSWD.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/ProxyHunter.pm view on Meta::CPAN
return;
}
my %uri_scheme = (
&HTTP_PROXY => 'http',
&CONNECT_PROXY => 'connect',
&HTTPS_PROXY => 'connect',
&SOCKS4_PROXY => 'socks4',
&SOCKS5_PROXY => 'socks',
);
view all matches for this distribution
view release on metacpan or search on metacpan
Autodoc/dev_rls_tool_doc.html view on Meta::CPAN
$info{debug} = 'yes' if ($opts{debug});
#
# Set up a proxy, if needed
#
$ENV{http_proxy} = $CONFIG{HTTP_PROXY} || $ENV{http_proxy} || '';
#
# Effect the transfer of the package. The conditional here is solely
# because of the need to support releases to www.hp.com
#
view all matches for this distribution
view release on metacpan or search on metacpan
grab/na_dd/tv_grab_na_dd.IN view on Meta::CPAN
my $dd_service='http://docs.tms.tribune.com/tech/tmsdatadirect/zap2it/xtvd.wsdl';
$dd_service='http://docs.tms.tribune.com/tech/tmsdatadirect/zap2it/beta/xtvd.wsdl' if $opt_beta_data;
my $proxy='http://localhost/';
if (exists $ENV{HTTP_PROXY})
{
$proxy=$ENV{HTTP_PROXY};
}
my $time=time();
my $soap= SOAP::Lite
-> service($dd_service)
view all matches for this distribution