> Has anyone else tried to implement this with Watir? If not I may try it > myself. Here's the core of it in IE::Mechanize where it formulates the > Authorization header, really simple stuff: > > sub __authorization_basic { > my( $user, $pass ) = @_; > defined $user && defined $pass or return; > > require MIME::Base64; > return "Authorization: Basic " . > MIME::Base64::encode_base64( "$user:$pass" ) . > "\015\012"; > }
I tried and failed, but I thought my problem was in the way IE handled the data. I'd love to be proven wrong: http://chrismcmahonsblog.blogspot.com/2006/05/internet-explorer-basic-authorization.html _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general