Silent header
Purpose: Do not output HTTP headers.
silent-header
Copied!
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:
- A command-line program (such as a command line program) may use it to produce generic output, without any headers,
- the output from a program may be redirected to a web file (such as html), in case of dynamic content that rarely changes,
- a web program may output a completely different (non-HTTP) set of headers, etc.
silent-header
Copied!
Web
call-web
out-header
send-file
silent-header
See all
documentation
Copyright (c) 2019-2024 Gliim LLC. All contents on this web site is "AS IS" without warranties or guarantees of any kind.