--server-response-header
- CLI
- --server-response-header
- REST
- CLI only
Adds a header to every response the server sends, refusals included, replacing zshot’s own header of that name. Repeat the flag to add more; a repeated name sends each value.
Example
CLI
Run locally
zshot --server \
--server-response-header "X-Frame-Options: DENY" \
--server-response-header "Strict-Transport-Security: max-age=31536000"