Why not more const safe?
const char *TSHttpTxnErrorBodyGet(TSHttpTxn txnp, size_t *buflength, const
char **mimetype);
On Thu, Mar 14, 2024 at 5:09 PM Leif Hedstrom wrote:
> We have an existing API to set the error body (TSHttpTxnErrorBodyGet() ),
> and I’d like to add the corresponding Get’er f
We have an existing API to set the error body (TSHttpTxnErrorBodyGet() ), and
I’d like to add the corresponding Get’er for this. I’m proposing the following:
/**
Retrives the error body, if any, from a transaction. This would be a body
as set
via the API body.
@param txnp