dm_cgi_router_dispatch Subroutine

public subroutine dm_cgi_router_dispatch(router, env, http_status)

Uses

  • proc~~dm_cgi_router_dispatch~~UsesGraph proc~dm_cgi_router_dispatch dm_cgi_router_dispatch module~dm_http dm_http proc~dm_cgi_router_dispatch->module~dm_http

Searches the router hash table for path in CGI environment variable PATH_INFO, and calls the associated subroutine of the route. If no route has been found, HTTP_NOT_FOUND is returned in http_status.

Arguments

Type IntentOptional Attributes Name
type(cgi_router_type), intent(inout) :: router

Router type.

type(cgi_env_type), intent(inout) :: env

CGI environment variables.

integer, intent(out) :: http_status

Optional status.


Calls

proc~~dm_cgi_router_dispatch~~CallsGraph proc~dm_cgi_router_dispatch dm_cgi_router_dispatch proc~dm_cgi_router_get dm_cgi_router_get proc~dm_cgi_router_dispatch->proc~dm_cgi_router_get proc~dm_is_error dm_is_error proc~dm_cgi_router_dispatch->proc~dm_is_error proc~dm_cgi_router_get->proc~dm_is_error interface~dm_hash_table_get dm_hash_table_get proc~dm_cgi_router_get->interface~dm_hash_table_get