dm_fcgi_header Subroutine

public subroutine dm_fcgi_header(content_type, http_status)

Uses

  • proc~~dm_fcgi_header~~UsesGraph proc~dm_fcgi_header dm_fcgi_header module~dm_ascii dm_ascii proc~dm_fcgi_header->module~dm_ascii module~dm_http dm_http proc~dm_fcgi_header->module~dm_http module~dm_util dm_util proc~dm_fcgi_header->module~dm_util module~dm_error dm_error module~dm_util->module~dm_error module~dm_kind dm_kind module~dm_util->module~dm_kind module~dm_error->module~dm_ascii module~dm_error->module~dm_kind iso_fortran_env iso_fortran_env module~dm_kind->iso_fortran_env

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

Arguments

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

MIME type.

integer, intent(in), optional :: http_status

HTTP status code.


Calls

proc~~dm_fcgi_header~~CallsGraph proc~dm_fcgi_header dm_fcgi_header interface~dm_itoa dm_itoa proc~dm_fcgi_header->interface~dm_itoa proc~dm_http_status_string dm_http_status_string proc~dm_fcgi_header->proc~dm_http_status_string