CGI HTTP Status header

Shahram Javey (sjavey@diffusion.com)
Wed, 15 Oct 1997 23:26:38 -0700


In a Perl CGI program I wish to access the "Authorization: xxx" HTTP
header. But this value is never set as an environment variable. What
gives? I'm using Perl 5 with LWP on NT and using Netscape Fasttrack
2.01.

Here are the details:

1. User accesses a protected HTML file with a link to the Perl CGI.

2. Server returns 401 code, plus WWW-Authenticate;

3. Browser displays the login/password dialog. User enters the data and
gains access to the HTML page and clicks on the link that runs the Perl
CGI.

4. I print all of the %ENV, but "Authorization" is not one one them.
REMOTE_USER does get set, but I need access to the password too. HOW DO
I DO THIS?

Thank you...sj