in reply to CGI 401 Response

use warnings; use strict; use CGI; my $cgi = new CGI; print $cgi->header('type text/html','401 Authorization Required!'); __END__ Status: 401 Authorization Required! Content-Type: type text/html
Never heard of "type text/html" :)

Replies are listed 'Best First'.
Re^2: CGI 401 Response
by SrFabio (Initiate) on Jul 15, 2009 at 11:50 UTC
    Oh that "type text/html" was to be -type "text/html" ..i was trying the thing with named args and forgot to correct that one lol. Thank you for replying ;)