httpmail (httpmail.sourceforge.net) needs this patch. hotmail.com is fussy about receiving an Authorization: header. Thanks to Frank de Lange for explaining the bug:
http://sourceforge.net/mailarchive/forum.php?thread_id=693641&forum_id=2580 Rob ---------------------------------------------------------------- retrieving revision 1.1 retrieving revision 1.2 diff -c -r1.1 -r1.2 *** UserAgent.pm 2002/09/04 17:25:21 1.1 --- UserAgent.pm 2002/10/01 21:35:08 1.2 *************** *** 463,468 **** --- 463,471 ---- $referral->url($referral_uri); $referral->remove_header('Host', 'Cookie'); + # Don't resend authorization unless server asks for it. + $referral->remove_header('Authorization') + unless $response->header('WWW-Authenticate'); return $response unless $self->redirect_ok($referral);
