Subject: | Filter can't handle responses without a content-length |
According to HTTP::Parser, when the response object has no
content-length the object should be considered finished when you hit the
end of file or the socket closes.
In the case of POE::Filter::HTTP::Parser, if you try to do a
->get_input_filter->get_pending on the filter to get the response object
when you detect end of file or socket, the filter does not return the
response object.
This makes the filter unable to process responses of unknown length,
greatly limiting it's usefulness.
Please fix this, so get_pending returns an object if it doesn't have a
content length.