- ⌂ Web Request
- Directives
#HEADER
Send all text between #HEADER and #ENDHEADER as HTTP response headers, as described in RFC2616 Section 14.
This statement is only useful in a Dynamic Publication Procedure.
Prototype
#HEADER ... #ENDHEADER
Example
#HEADER
Content-Type: $MimeType
Content-Disposition: attachment; filename="$Filename"
Date: $FormattedDate
#ENDHEADER
$File
Result
The HTTP header will be sent to the browser indicating the response is to be treated as a downloaded file with the given filename.