17. cgi::RequestMethod

[<<<] [>>>]

This is the HTTP method the request uses. This can be "GET", "HEAD" or "POST". There are other methods that web servers may support but there is no clear definition how these may interact with CGI programs.

Note that most CGI programs are not prepared to handle HEAD requests. Therefore this method is NOT allowed by default. The allowed methods are GET, POST and the special type of POST that uploads one or more files. If your program is prepared to handle HEAD requests then you can explicitely allow this method

option cgi$Method cgi::Get or cgi::Upload or cgi::Head

setting the appropriate value of the run-time option cgi$Method.


[<<<] [>>>]