smpd9$ ./test.pl
Error: Error accessing
401 Authentication Required
at https://csgl02:8082/Secure/Local/console/documentation.htm
Aborting at ./test.pl line 32.
smpd9$
Here's an extract from HTTP Live Headers::
https://csgl02:8082/Secure/Local/console/documentation.htm
GET /Secure/Local/console/documentation.htm HTTP/1.1
Host: csgl02:8082
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Ge
+cko/20040206 Firefox/0.8
Accept: application/x-shockwave-flash,text/xml,application/xml,applica
+tion/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png
+,image/jpeg,image/gif;q=0.2,*/*;q=0.1
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
HTTP/1.x 401 Authentication Required
WWW-Authenticate: Basic realm="Blue Coat Proxy SG"
refresh: 0;URL="/Secure/Local/console/logout.htm"
Server: BlueCoat-Security-Appliance
Pragma: no-cache
Cache-Control: no-cache
Set-Cookie: BCSI_MC=267053511:1; path=/
Content-Type: text/plain
----------------------------------------------------------
https://csgl02.:8082/Secure/Local/console/documentation.htm
GET /Secure/Local/console/documentation.htm HTTP/1.1
Host: csgl02:8082
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Ge
+cko/20040206 Firefox/0.8
Accept: application/x-shockwave-flash,text/xml,application/xml,applica
+tion/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png
+,image/jpeg,image/gif;q=0.2,*/*;q=0.1
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Authorization: Basic dTc1MjM1OTpwdXNhbjI2
Cookie: BCSI_MC=267053511:1
HTTP/1.x 200 OK
Server: BlueCoat-Security-Appliance
Pragma: no-cache
Cache-Control: no-cache
Set-Cookie: BCSI_MC=267053558:0; path=/
Content-Length: 9244
Content-Type: text/html
----------------------------------------------------------
Can you spot what I'm doing wrong?
js1. |