in reply to HTTP Header retrieval from Perl on Apache Server
Apache used to write the method used to a enviroment variable. I never tried Apache on Windows for this, but you could test it easily.#!/usr/bin/perl print "Content-type: text/html\n\n"; for (sort(keys(%ENV))) { print "$_ = $ENV{$_}<br>\n"; }
Once you got the method, all you need is a simple if...
|
|---|