Provided by: trafficserver-dev_5.3.0-2ubuntu2_amd64 bug

NAME

       TSHttpTxnErrorBodySet - sets an error type body to a transaction

SYNOPSIS

       #include <ts/ts.h>

       void TSHttpTxnErrorBodySet(TSHttpTxn txnp, char *buf, size_t buflength, char *mimetype)

DESCRIPTION

       Note  that  both string arguments must be allocated with TSmalloc() or TSstrdup().  The mimetype argument
       is optional, if not provided it defaults to "text/html".  Sending an emptry string would prevent  setting
       a content type header (but that is not adviced).

COPYRIGHT

       2014, dev@trafficserver.apache.org

5.3                                              April 18, 2016                       TSHTTPTXNERRORBODYSET(3ts)