in reply to Re^3: lwp encoding problem
in thread lwp encoding problem

The LWP::Simple documentation sends you to LWP::UserAgent, and you can extract the response headers from the response object.

The response is a HTTP::Response object, and you can use $respone->header('Content-Type') to access the Content-Type header field.