Subject: | parse_head fails if content is encoded |
I was trying to implement meta-equiv-refresh handling as described in this ticket, https://rt.cpan.org/Public/Bug/Display.html?id=95988
But the refresh header was missing from my responses. This was because I was setting this header "accept_encoding => 'gzip,deflate'", which resulted in an encoded response, thus HTML::HeadParser failed to parse it as html. Can we have an option to automatically decode encoded content if the content_type is 'text/html'?