dm_cgi_header Subroutine

public subroutine dm_cgi_header(content_type, http_status, location)

Writes HTTP header. A sane HTTP server converts the status code passed in the header to a real HTTP status code, as we cannot return it in any other way with CGI. Default HTTP status is 200.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: content_type

MIME type.

integer, intent(in), optional :: http_status

HTTP status code.

character(len=*), intent(in), optional :: location

Optional redirect.


Calls

proc~~dm_cgi_header~~CallsGraph proc~dm_cgi_header dm_cgi_header proc~dm_http_status_string dm_http_status_string proc~dm_cgi_header->proc~dm_http_status_string