POE::Filter::HTTPHead(3pm)

POE::Filter::HTTPHead3pm

Filter data as http::response objects

Version

version 0.949

Synopsys

  $filter = POE::Filter::HTTPHead->new();
  $arrayref_of_response_objects =
    $filter->get($arrayref_of_raw_chunks_from_driver);
  $arrayref_of_leftovers = $filter->get_pending();

Overview

The HTTPHead filter turns stream data that has the appropriate format into a HTTP::Response object. In an all-POE world, this would sit on the other end of a connection as POE::Filter::HTTPD

new

Creates a new filter to parse HTTP headers. Takes no parameters, and returns a shiny new POE::Filter::HTTPHead object.

Methods

See POE::Filter for documentation of the public API.

get_pending

Returns unparsed data pending in this filter's input buffer. It's used by POE::Wheel objects to seamlessly switch between filters.

Details may be found in the POE::Filter documentation.

Releases

10 releases since Debian 5.0 (Lenny); the text changed 6 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9–11
  6. 12–13
  7. Arch

From perl-poe-component-client-http 0.949-13 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.