[fpc-pascal] How to get the "Authorization" header in CGI/FastCGI?

silvioprog silvioprog at gmail.com
Fri Apr 18 22:44:18 CEST 2014


Hello,

In PHP it is very easy:

<?php
$headers = apache_request_headers();
echo $headers['Authorization'];
?>

But I tried in CGI, and the "Authorization" header isn't returned in any
property, even in environment variables.

Can I get this header using CGI and/or FastCGI?

Thank you!

-- 
Silvio Clécio
My public projects - github.com/silvioprog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20140418/4a9a329c/attachment.html>


More information about the fpc-pascal mailing list