[SQU] [Off] Perl

From: Devin Teske <[email protected]>
Date: Wed, 21 Feb 2001 16:42:46 -0800

Hello,

One question. How do I contact a server in Perl? I want to send this header
to a server...

GET /index_en.html HTTP/1.0
User-agent: Mozilla/4.0
Accept: text/html, image/gif, image/jpeg
Proxy-authorization: Basic ZWFzdGVyOmVnZw==

...and then see if the server returned anything except a 200 status code in
the response header. (the point of this is to check to see if the user is
valid on that server before doing a certain operation).

Thanks,
Devin Teske
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Wed Feb 21 2001 - 17:48:50 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:58:07 MST