in reply to LWP raw header dump

I beleive that $reponse->headers->as_string; does give you all the headers when the protocol is http(s). I don't think you can have non-strings in http headers unless encoded it is a text based protocol afterall.

Don't know what headers->as_string; returns when the protocol is ftp.