HTTP::Proxy::BodyFilter::tags - A filter that outputs only complete tags |
HTTP::Proxy::BodyFilter::tags - A filter that outputs only complete tags
use HTTP::Proxy::BodyFilter::tags; use MyFilter; # this filter only works on complete tags
my $filter = MyFilter->new();
# note that both filters will be run on the same messages # (those with a MIME type of text/html) $proxy->push_filter( mime => 'text/*', response => HTTP::Proxy::BodyFilter::tags->new ); $proxy->push_filter( mime => 'text/html', response => $filter );
The HTTP::Proxy::BodyFilter::tags filter makes sure that the next filter in the filter chain will only receive complete tags.
This class defines a single method, that is called automatically:
filter()
the HTTP::Proxy manpage, the HTTP::Proxy::BodyFilter manpage.
Philippe ``BooK'' Bruhat, <book@cpan.org>.
Copyright 2003-2005, Philippe Bruhat.
This module is free software; you can redistribute it or modify it under the same terms as Perl itself.
HTTP::Proxy::BodyFilter::tags - A filter that outputs only complete tags |