Main > Programming > Libraries >

HTTP::Handle 0.2

HTTP::Handle 0.2

Sponsored Links

HTTP::Handle 0.2 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.005 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 1072
Date added: 2006-11-16
Publisher: Jordan Sissel

HTTP::Handle 0.2 description

HTTP::Handle is a HTTP Class designed for streaming.

SYNOPSIS

use HTTP::Handle;

my $http = HTTP::Handle->new( uri => "http://www.google.com/" );
$http->connect();

my $fd = $http->fd();

while (<$fd>) {
print "--> $_";
}

The HTTP::Handle module allows you to make HTTP requests and handle the data yourself. The general ideas is that you use this module to make a HTTP request and handle non-header data yourself. I needed such a feature for my mp3 player to listen to icecast streams.

HTTP::Handle->new()

Create a new HTTP::Handle object thingy.

Arguments possible:

url => "http://www.google.com/"

Sets the initial URL to connect to.

follow_redirects => [ 0 | 1 ]

Automatically follow HTTP redirects. This defaults to true (1). Set to 0 to disable this.

http_request => HASHREF

Any thing put in here will be sent as "key: value" in the http request string.

$http->connect()

Connect, send the http request, and process the response headers.

This function returns -1 on failure, undef otherwise. The reason for failure will be printed to STDERR.

$http->fd()

Get the file descriptor (socket) were using to connect.

$http->url( [ url_string ])

Get or set the URL. If a url string is passed, you will change the url that is requested. If no parameter is passed, a URI object will be returned containing the

$http->follow_redirects( [ 0 | 1 ] )

If a value is passed then you will set whether or not we will automatically follow HTTP 302 Redirects. If no value is passed, then we will return whatever the current option is.

Defaults to 1 (will follow redirects).

$http->http_request_string()

Returns a string containing the HTTP request and headers, this is used when

$http->connect() is called.

HTTP::Handle 0.2 Screenshot

Advertisements

HTTP::Handle 0.2 Keywords

Bookmark HTTP::Handle 0.2

Hyperlink code:
Link for forum:

HTTP::Handle 0.2 Copyright

WareSeeker periodically updates pricing and software information of HTTP::Handle 0.2 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of HTTP::Handle 0.2 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
HTTPManifold is an application for tunnelling Web/HTTP traffic for multiple servers through a single IP address. Free Download
elhttp provides a full-featured HTTP proxy server designed for embedded systems. Free Download
HTTP::Async is a Perl module that can process multiple HTTP requests in parallel without blocking. Free Download
httping is a ping-like tool for HTTP requests. Free Download
HTTunnel is a universal HTTP tunnel using Apache, mod_perl and Perl. Free Download
HTTP::DAV is a WebDAV client library for Perl5. Free Download
HTTP::Browscap is a Perl module that can parse and search browscap.ini files. Free Download
HTTP Proxy Client is a set of libraries and scripts that provide transparent access to Internet. Free Download