logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

TSHttpTxnErrorBodySet - sets an error type body to a transaction

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).

Name

       TSHttpTxnErrorBodySet - sets an error type body to a transaction

Synopsis

          #include <ts/ts.h>

       voidTSHttpTxnErrorBodySet(TSHttpTxntxnp,char*buf,size_tbuflength,char*mimetype)

See Also