Retrieves the list of allowed verbs for a script map.
This method takes no parameters.
A pointer to a string that contains the list of allowed verbs.
Developers can use the GetAllowedVerbs method to retrieve the list of allowed HTTP verbs for a page handler. For example, if you request a static HTML page that is hosted by an IIS 7 Web site, the static file handler may be configured to allow all HTTP verbs. However, if you if you request a dynamic ASP page that is hosted by the same IIS 7 Web site, the ASP page handler may be configured to allow only the GET and POST verbs.
Web administrators can configure the list of allowed verbs by using IIS Manager.
The following code example demonstrates how to create an HTTP module that retrieves a pointer to an IHttpContext::IScriptMapInfo interface. The example then uses the GetAllowedVerbs method to retrieve the list of verbs that are allowed for the script map. The module returns the list of allowed verbs to a Web client and then exits.