Playing with CGI I have found that real behaviour of start_form
without parameters does not correspond to documentation.
>From the documentation:
The defaults are:
method: POST
action: this script
enctype: application/x-www-form-urlencoded
>From the source code of startform:
$method = $method || 'POST';
$enctype = $enctype || &URL_ENCODED;
$action = $action ? qq/ACTION="$action"/ : $method eq 'GET' ?
'ACTION="'.$self->script_name.'"' : '';
So, for default method 'POST' action is empty. Is it correct?
(CGI version 2.68)
--
ab
ICQ: 3959207