Changeset 26158 for trunk/DataStore/scripts/dsrootls
- Timestamp:
- Nov 16, 2009, 3:51:29 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/DataStore/scripts/dsrootls (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataStore/scripts/dsrootls
r17739 r26158 16 16 use Pod::Usage qw( pod2usage ); 17 17 18 my ($uri, $timeout );18 my ($uri, $timeout, $no_proxy); 19 19 20 20 GetOptions( 21 21 'uri|u=s' => \$uri, 22 22 'timeout|t' => \$timeout, 23 'no-proxy' => \$no_proxy, 23 24 ) or pod2usage( 2 ); 24 25 … … 31 32 # default http request timeout is 30s 32 33 $timeout ||= 30; 34 $no_proxy = 0 if !defined $no_proxy; 33 35 34 36 my %p = ( … … 38 40 my $response = DataStore::Root->new(%p)->request( 39 41 ua_args => { timeout => $timeout }, 42 no_proxy => $no_proxy, 40 43 ); 41 44 … … 93 96 Optional. 94 97 98 =item * --no-proxy 99 100 Do not load proxy environment variables. 101 102 Optional. 103 95 104 =back 96 105
Note:
See TracChangeset
for help on using the changeset viewer.
