table of contents
TSHTTPTXNERRORBODYSET(3ts) | Apache Traffic Server | TSHTTPTXNERRORBODYSET(3ts) |
NAME¶
TSHttpTxnErrorBodySet - sets an error type body to a transaction
SYNOPSIS¶
#include <ts/ts.h>
DESCRIPTION¶
Note that both string arguments must be allocated with TSmalloc() or TSstrdup(). The mimetype is optional, and if not provided it defaults to text/html. Sending an empty string would prevent setting a content type header (but that is not advised).
COPYRIGHT¶
2022, dev@trafficserver.apache.org
May 21, 2022 | 8.1 |