Should $ua->request always remove cookies?

Bill Moseley <[email protected]> Sun, 7 Nov 2010 09:49:56 -0800
Newsgroups gmane.comp.lang.perl.modules.lwp
Message-ID <[email protected]>
On a redirect:

# These headers should never be forwarded
$referral->remove_header('Host', 'Cookie');

Should the cookie always be removed?  Or only if the redirect is to a
different domain?

I noticed that wget does not remove the cookie (at least when redirecting to
same domain).

-- 
Bill Moseley
[email protected]