in reply to LWP::UserAgent adding unwanted TE header

The TE header is used to tell the server that it can, if it wishes, use one of the methods specified in the TE header to compress content. If your browser was able to use these methods to handle compressed data it would send the info in the request header! There was much discussion about this subject a couple of years ago in relation to Net::HTTP and Net::HTTP::Methods which also touched on LWP::UserAgent.

jdtoronto

  • Comment on Re: LWP::UserAgent adding unwanted TE header