SPUG: How to deal with pop-ups in automation

Daryn Nakhuda daryn at marinated.org
Tue Feb 19 13:30:19 CST 2002


I'm assuming you're talking about basic auth; in that case just send the 
following header in the http request, and it will be authenticated.

Authorization: Basic wqdjqd32jf3kj==

that second piece is user:password base 64 encoded.




On Tue, 19 Feb 2002, S Bullo wrote:

> Does anyone know how to get around or deal with automatic pop-ups when
> running a script?  I have one that inserts a bunch of information into a
> url, two items being a username and a password.  A site has been set up to
> use .htaccess and this, of course, causes a pop-up box to open for this
> information.  I'm not certain how to go about having my script "see" this
> and adjust accordingly.
> 
> Any help is appreciated!
> 
> Susanne Bullo
> 

-- 



 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
      Subscriptions; Email to majordomo at pm.org:  ACTION  LIST  EMAIL
  Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
 For daily traffic, use spug-list for LIST ;  for weekly, spug-list-digest
     Seattle Perl Users Group (SPUG) Home Page: http://seattleperl.org





More information about the spug-list mailing list