Silent header

Purpose: Do not output HTTP headers.

 silent-header

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


Copyright (c) 2019-2024 Gliim LLC. All contents on this web site is "AS IS" without warranties or guarantees of any kind.