Vely logo install | documentation | examples | changelog
16.10.0 released May 10, 2023

Purpose: Do not output HTTP headers.


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 suppres the headers across the entire command-line application, use VV_SILENT_HEADER environment variable; see command_line.

Note that you still have to use out-header regardless, as it is expected to be there if you output anything; however its actual output will be suppressed.

There are many uses for silent-header, among them:

// No headers output 

See also
Web ( call-web   out-header   send-file   silent-header  )  SEE ALL (documentation)

Copyright (c) 2017-2023 Dasoftver LLC