| GOLF(2gg) | Development | GOLF(2gg) |
NAME¶
silent-header - (web)
PURPOSE¶
Do not output HTTP headers.
SYNTAX¶
silent-header
DESCRIPTION¶
silent-header will suppress the output of HTTP headers, such as with out-header, or in any other case where headers are output. The effect applies to current request only; if you use it conditionally, then you can have it on or off dynamically.
If you want to suppress the headers for all service handlers (as if silent-header were implied at the beginning of each), then for a command-line program, use "--silent-header" option in "gg -r" when running it; to suppress the headers in services, use "-z" option in mgrg.
silent-header must be used prior to outputting headers, meaning either prior to any output (if out-header is not used) or prior to first out-header.
There are many uses for silent-header, among them:
EXAMPLES¶
silent-header // No headers output
SEE ALSO¶
Web
call-web out-header send-file silent-header See all documentation
| $VERSION | $DATE |