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.
Type | Intent | Optional | 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. |