- Timestamp:
- May 3, 2010, 8:50:52 AM (16 years ago)
- Location:
- branches/simtest_nebulous_branches
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
DataStore/scripts/dsfilesetls (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/simtest_nebulous_branches
- Property svn:mergeinfo changed
-
branches/simtest_nebulous_branches/DataStore/scripts/dsfilesetls
r17752 r27840 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=s' => \$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; 35 36 if (!($uri =~ /\/index\.txt$/)) { 37 $uri .= '/index.txt' 38 } 33 39 34 40 my $response = DataStore::FileSet->new( uri => $uri )->request( 35 41 ua_args => { timeout => $timeout }, 42 no_proxy => $no_proxy, 36 43 ); 37 44 … … 91 98 Optional. 92 99 100 =item * --no-proxy 101 102 Do not load proxy environment variables. 103 104 Optional. 105 93 106 =back 94 107
Note:
See TracChangeset
for help on using the changeset viewer.
