Linux cpanel2.daytoncreative.net 2.6.32-754.29.2.el6.x86_64 #1 SMP Tue May 12 17:39:04 UTC 2020 x86_64
Apache/2.4.43 (cPanel) OpenSSL/1.1.1g mod_bwlimited/1.4
Server IP : 70.62.220.67 & Your IP : 216.73.216.193
Domains :
Cant Read [ /etc/named.conf ]
User : michaelgreg
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
log /
perl-5.20.2 /
cpan /
HTTP-Tiny /
t /
Delete
Unzip
Name
Size
Permission
Date
Action
cases
[ DIR ]
drwxr-xr-x
2015-02-14 16:55
000_load.t
217
B
-r--r--r--
2014-12-27 11:48
001_api.t
705
B
-r--r--r--
2014-12-27 11:48
002_croakage.t
925
B
-r--r--r--
2014-12-27 11:49
003_agent.t
1.24
KB
-r--r--r--
2014-12-27 11:48
010_url.t
1.66
KB
-r--r--r--
2014-12-27 11:48
020_headers.t
1.47
KB
-r--r--r--
2014-12-27 11:49
030_response.t
1021
B
-r--r--r--
2014-12-27 11:48
040_content.t
939
B
-r--r--r--
2014-12-27 11:48
050_chunked_body.t
1.4
KB
-r--r--r--
2014-12-27 11:48
060_http_date.t
759
B
-r--r--r--
2014-12-27 11:48
070_cookie_jar.t
1.06
KB
-r--r--r--
2014-12-27 11:48
100_get.t
3
KB
-r--r--r--
2014-12-27 11:49
101_head.t
1.9
KB
-r--r--r--
2014-12-27 11:49
102_put.t
1.9
KB
-r--r--r--
2014-12-27 11:49
103_delete.t
1.9
KB
-r--r--r--
2014-12-27 11:49
104_post.t
1.9
KB
-r--r--r--
2014-12-27 11:49
110_mirror.t
2.44
KB
-r--r--r--
2014-12-27 11:49
130_redirect.t
2.07
KB
-r--r--r--
2014-12-27 11:49
140_proxy.t
706
B
-r--r--r--
2014-12-27 11:49
141_no_proxy.t
1.71
KB
-r--r--r--
2014-12-27 11:48
150_post_form.t
2.1
KB
-r--r--r--
2014-12-27 11:49
160_cookies.t
2.44
KB
-r--r--r--
2014-12-27 11:49
161_basic_auth.t
2.06
KB
-r--r--r--
2014-12-27 11:49
162_proxy_auth.t
2.07
KB
-r--r--r--
2014-12-27 11:49
170_keepalive.t
2.15
KB
-r--r--r--
2014-12-27 11:49
BrokenCookieJar.pm
263
B
-r--r--r--
2014-12-27 11:48
SimpleCookieJar.pm
470
B
-r--r--r--
2014-12-27 11:48
Util.pm
3.96
KB
-r--r--r--
2014-12-27 11:49
Save
Rename
#!perl use strict; use warnings; use Test::More 0.88; use HTTP::Tiny; # blank slate for testing delete $ENV{no_proxy}; { my $c = HTTP::Tiny->new(); is_deeply( $c->no_proxy, [], "no no_proxy given" ); } my @cases = ( #<<< No perltidy { no_proxy => [ undef, [], ], expect => [], }, { no_proxy => [ "localhost", ["localhost"], ], expect => ["localhost"], }, { no_proxy => [ "localhost,example.com", "localhost, example.com", [qw/localhost example.com/] ], expect => [ "localhost", "example.com" ], }, #>>> ); for my $c (@cases) { for my $no_proxy ( @{ $c->{no_proxy} } ) { my $label = !defined $no_proxy ? 'undef' : ref $no_proxy ? "[qw/@$no_proxy/]" : "'$no_proxy'"; # Can't test environment with array ref (ENV stringifies in new perls) if ( ref $no_proxy ) { my $ht = HTTP::Tiny->new( no_proxy => $no_proxy ); is_deeply( $ht->no_proxy, $c->{expect}, "new(no_proxy => $label)" ); } else { { local $ENV{no_proxy} = $no_proxy; my $ht = HTTP::Tiny->new(); is_deeply( $ht->no_proxy, $c->{expect}, "\$ENV{no_proxy} = $label" ); } { local $ENV{no_proxy} = "Shouldnt,see,this"; my $ht = HTTP::Tiny->new( no_proxy => $no_proxy ); is_deeply( $ht->no_proxy, $c->{expect}, "new(no_proxy => $label) versus other \$ENV{no_proxy}" ); } } } } done_testing();