Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.646.990 Times

HTTP::Handle 0.2

  Date Added: May 06, 2010  |  Visits: 722

HTTP::Handle

Report Broken Link
Printer Friendly Version


Product Homepage
Download (84 downloads)



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..

Requirements: No special requirements
Platforms: Linux
Keyword: Connect Designed Http Class Http Request Httphandle Libraries Programming Redirects Request String Url
Users rating: 0/10

License: Freeware Size: 5.12 KB
USER REVIEWS
More Reviews or Write Review


HTTP::HANDLE RELATED
Libraries  -  CGI::Request 2.0b1
CGI::Request is a parse client request via a CGI interface. SYNOPSIS use CGI::Request; # Simple interface: (combines SendHeaders, new and import_names) $req = GetRequest($pkg); print FmtRequest(); # same as: print $req->as_string #...
122.88 KB  
Libraries  -  Class::Tangram 1.57
Class::Tangram is a Perl module for tangram-friendly classes, DWIM attributes. SYNOPSIS package MyObject; use base qw(Class::Tangram); our $fields = { int => [ qw(foo bar) ], string => [ qw(baz quux) ] }; package main; my $object =...
50.18 KB  
Libraries  -  macstl 0.3.1
macstl is a C++ header library designed to bring the world of generic programming to the Macintosh, and deliver the surprising speed of SIMD in an intuitive cross-platform package. For example, a simple loop calculating a trigonometric function...
174.08 KB  
Libraries  -  Curl HTTP Client 1.1
Curl HTTP Client is a PHP class that implements an HTTP client using the PHP Curl library extension. Frequently, in my daytime job I have to fetch data from various url’s, either by sending get or post request, binding to different IP...
3.07 KB  
Libraries  -  HTTP::Webdav 0.1.18-0.17.1
HTTP::Webdav is a Perl interface to Neon HTTP and WebDAV client library. SYNOPSIS use HTTP::Webdav ; $sess = HTTP::Webdav -> new ; $sess -> server ("www.ecos.de", 80) ; $sess -> get ("/", STDOUT) ; $sess -> put ("/dav/foo.htm", STDIN) ;...
32.77 KB  
Networking Tools  -  Send HTTP Tool 2.5.1
Powerful and free bugging/testing tool for web sites and web application. With Send HTTP Tool you able to generate and send different HTTP request to any URL and in a second view full report about the HTTP response. This is a great tool for...
634 B  
Libraries  -  POE::Component::Server::HTTP 0.09
POE::Component::Server::HTTP is a foundation of a POE HTTP Daemon. SYNOPSIS use POE::Component::Server::HTTP; use HTTP::Status; my $aliases = POE::Component::Server::HTTP->new( Port => 8000, ContentHandler => { / => &handler1, /dir/ =>...
16.38 KB  
Network & Internet  -  EasyHTTPD 1.1.0b
EasyHTTPD is a drop in C++ class to implement an HTTP 1.0 Server - Now with OpenSSL Support! The class can be used to allow an application to be controlled by a browser, hence Embedded. To this functionality to an app, add the C++ class to the...
16.38 KB  
Network & Internet  -  mod_auth_remedy 2.0.0
mod_auth_remedy is an Apache module for HTTP Basic authentication/authorization in the Remedy Action Request System (ARS). Users of the Remedy Action Request System are organized in groups as in UNIX. Each user may belong to several groups....
13.31 KB  
Libraries  -  HTTP::OAI::Repository 3.18
HTTP::OAI::Repository is a documentation for building an OAI compliant repository using OAI-PERL. Using the OAI-PERL library in a repository context requires the user to build the OAI responses to be sent to OAI harvesters. SYNOPSIS use...
36.86 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB