I've started looking into this.
1) It's not WWW::Mechanize adding that header.
And even if it was,
2) The last thing WWW::Mechanize does before passing the request on to the underlying library is to process add_header directives, so $mech->add_header( TE => undef); would work if it was WWW::Mechanize adding that header.
I'm off to check if it's something in libwww-perl, or it if it's an external source (such as a proxy).
In reply to Re: Undeleteable header in WWW::Mechanize
by ikegami
in thread Undeleteable header in WWW::Mechanize
by javahater
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |