Changeset 8021 for lang/perl/App-MadEye
- Timestamp:
- 03/17/08 12:36:44 (9 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/App-MadEye/trunk/lib/App/MadEye/Plugin/Agent/HTTP.pm
r7530 r8021 12 12 my $ua = LWP::UserAgent->new( 13 13 timeout => $TIMEOUT, 14 agent => $self->config->{config}->{user_agent} || 'App::MadEye',14 agent => $self->config->{config}->{user_agent} || "App::MadEye($App::MadEye::VERSION)", 15 15 ); 16 16 my $res = $ua->get($url); … … 24 24 25 25 1; 26 __END__ 26 27 28 =head1 NAME 29 30 App::MadEye::Plugin::Agent::HTTP - check http. 31 32 =head1 SCHEMA 33 34 type: map 35 mapping: 36 target: 37 type: seq 38 required: yes 39 sequence: 40 - type: str 41 timeout: 42 required: yes 43 type: int 44 user_agent: 45 required: no 46 type: str 47 48 =head1 AUTHOR 49 50 Tokuhiro Matsuno 51 52 =head1 SEE ALSO 53 54 L<App::MadEye>, L<Gearman::Client>, L<Gearman::Worker> 55
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)