Main > Programming > Libraries >

POE::Filter::HTTPD 0.3601

POE::Filter::HTTPD 0.3601

Sponsored Links

POE::Filter::HTTPD 0.3601 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.33 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 1156
Date added: 2006-08-24
Publisher: Artur Bergman

POE::Filter::HTTPD 0.3601 description

POE::Filter::HTTPD is a Perl module to convert stream to HTTP::Request; HTTP::Response to stream.

SYNOPSIS

$httpd = POE::Filter::HTTPD->new();
$arrayref_with_http_response_as_string =
$httpd->put($full_http_response_object);
$arrayref_with_http_request_object =
$line->get($arrayref_of_raw_data_chunks_from_driver);

The HTTPD filter parses the first HTTP 1.0 request from an incoming stream into an HTTP::Request object (if the request is good) or an HTTP::Response object (if the request was malformed). To send a response, give its put() method a HTTP::Response object.

Here is a sample input handler:

sub got_request {
my ($heap, $request) = @_[HEAP, ARG0];

# The Filter::HTTPD generated a response instead of a request.
# There must have been some kind of error. You could also check
# (ref($request) eq HTTP::Response).
if ($request->isa(HTTP::Response)) {
$heap->{wheel}->put($request);
return;
}

# Process the request here.
my $response = HTTP::Response->new(200);
$response->push_header( Content-Type, text/html );
$response->content( $request->as_string() );

$heap->{wheel}->put($response);
}
Please see the documentation for HTTP::Request and HTTP::Response.POE::Filter::HTTPD is a Perl module to convert stream to HTTP::Request; HTTP::Response to stream.

POE::Filter::HTTPD 0.3601 Screenshot

Advertisements

POE::Filter::HTTPD 0.3601 Keywords

Bookmark POE::Filter::HTTPD 0.3601

Hyperlink code:
Link for forum:

POE::Filter::HTTPD 0.3601 Copyright

WareSeeker periodically updates pricing and software information of POE::Filter::HTTPD 0.3601 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 POE::Filter::HTTPD 0.3601 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
POE::Component::Server::HTTP is a foundation of a POE HTTP Daemon. Free Download
SVN-Pusher is a Perl module that allows one to propagate changesets from one Subversion repository to the other. Free Download
Pod::Template is a Perl module for building pod documentation from templates. Free Download
Test::CPANpm is a Perl module to test a distributions interaction with CPAN before uploading. Free Download
HTTPD::Log::Filter is a Perl module to filter entries out of an httpd log. Free Download
OpenGeDB Perl module is a module to access the OpenGeoDB database and calculate all ZIP codes in a certain radius. Free Download
Module::Build::JSAN is a Perl module to build JavaScript modules for JSAN. Free Download
Code::Perl is a Perl module to produce Perl code from a tree. Free Download