http://qs321.pair.com?node_id=951235


in reply to send compressed content with LWP::UserAgent

You need to set the appropriate HTTP Headers, as mentioned here: Gzip (under "Other uses").
For setting them use HTTP::Headers as described in LWP::UserAgent.
  • Comment on Re: send compressed content with LWP::UserAgent