TSHttpTxnErrorBodySet
sets an error type body to a transaction
- Provided by: trafficserver-dev (Version: 5.3.0-2ubuntu2)
- Source: trafficserver
- Report a bug
sets an error type body to a transaction
#include <ts/ts.h>
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).
2014, dev@trafficserver.apache.org