Changes for version 0.10 - 2003-11-19

  • MAJOR INTERFACE CHANGES ***
  • new base classes HTTP::Proxy::HeaderFilter and HTTP::Proxy::BodyFilter
  • some useful built-in filter classes: HTTP::Proxy::BodyFiler::htmlparser HTTP::Proxy::BodyFiler::htmltext HTTP::Proxy::BodyFiler::lines HTTP::Proxy::BodyFiler::simple HTTP::Proxy::BodyFiler::tags HTTP::Proxy::HeaderFiler::simple HTTP::Proxy::HeaderFiler::standard
  • tests for the internal class HTTP::Proxy::FilterStack
  • tests for the built-in filters
  • the examples are up-to-date with the new interface
  • new/enhanced accessors:
    • the proxy host() attribute becomes actually useful: by default, the proxy is only usable by local user-agents (the socket is bound to localhost)
    • the filters proxy() accessor gives access to the proxy itself. For example, one can get the IP address of the agent connected to the proxy from inside a filter ($self->proxy->daemon->peerhost)
  • many documentation changes
  • This version is NOT compatible with the previous ones regarding the way filters work.
  • MAJOR INTERFACE CHANGES ***

Modules

A pure Perl HTTP proxy
A base class for HTTP messages body filters
A filter to transmogrify HTML text
A filter to transmogrify HTML text
A filter that outputs only complete lines
A class for creating simple filters
A filter that outputs only complete tags
A base class for HTTP message header filters
A class for creating simple filters
An internal filter to respect RFC2616

Provides

in lib/HTTP/Proxy.pm