The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Bio::Root::HTTPget - module for fallback HTTP get operations when LWP:: is unavailable

SYNOPSIS

 Use Bio::Root::HTTPget;

 my $response = get('http://localhost');
 $response    = get('http://localhost/images');

 $response    = eval { get('http://fred:secret@localhost/ladies_only/') 
                     } or warn $@;

 $response    = eval { get('http://jeff:secret@localhost/ladies_only/')  
                     } or warn $@;

 $response    = get('http://localhost/images/navauthors.gif');
 $response    = get(-url=>'http://www.google.com',
                    -proxy=>'http://www.modperl.com');

DESCRIPTION

This is basically an last-chance module for doing network HTTP get requests in situations where more advanced external CPAN modules such as LWP:: are not installed.

The particular reason this module was developed was so that the Open Bio Database Access code can fallback to fetching the default registry files from http://open-bio.org/registry/ without having to depend on external dependencies like Bundle::LWP for network HTTP access.

The core of this module was written by Lincoln Stein. It can handle proxies and HTTP-based proxy authentication.

FEEDBACK

Mailing Lists

User feedback is an integral part of the evolution of this and other Bioperl modules. Send your comments and suggestions preferably to one of the Bioperl mailing lists. Your participation is much appreciated.

  bioperl-l@bioperl.org                 - General discussion
  http://bio.perl.org/MailList.html     - About the mailing lists

Reporting Bugs

Report bugs to the Bioperl bug tracking system to help us keep track the bugs and their resolution. Bug reports can be submitted via email or the web:

  bioperl-bugs@bio.perl.org
  http://bugzilla.bioperl.org/

AUTHOR - Lincoln Stein

 Cared for by Chris Dagdigian <dag@sonsorol.org>

APPENDIX

The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _

get

 Title   : get
 Usage   : 
 Function:
 Example :
 Returns : string
 Args    : 

getFH

 Title   : getFH
 Usage   : 
 Function:
 Example :
 Returns : string
 Args    : 

_http_parse_url

 Title   :
 Usage   : 
 Function:
 Example :
 Returns :
 Args    :

_http_connect

 Title   :
 Usage   : 
 Function:
 Example :
 Returns :
 Args    :

_encode_base64

 Title   :
 Usage   : 
 Function:
 Example :
 Returns :
 Args    :