Skip Menu |
 

This queue is for tickets about the HTTP-Proxy CPAN distribution.

Report information
The Basics
Id: 20303
Status: resolved
Priority: 0/
Queue: HTTP-Proxy

People
Owner: Nobody in particular
Requestors: jjore [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.20



Subject: BodyFilter.pm's docs for filter() are inconsistent
Download (untitled) / with headers
text/plain 206b
The documentation for filter() says there's a $headers object but the example showing what is passed in doesn't show any such $headers object. Is this object real? If so, please tell me and update the Pod.
Download (untitled) / with headers
text/plain 574b
On Wed Jul 05 12:06:01 2006, JJORE wrote: Show quoted text
> The documentation for filter() says there's a $headers object but the > example showing what is passed in doesn't show any such $headers object. > > Is this object real? If so, please tell me and update the Pod.
There is no $headers object passed to the filter() method, contrary to what the documentation says. You can access to it with $message->headers(). However, this object is "read-only", since when the filters are called on the message body, the headers have already been sent. I've patched the documentation. Thanks.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.