DOKK / manpages / debian 11 / trafficserver-dev / TSMimeHdrParse.3ts.en
TSMIMEHDRPARSE(3ts) Apache Traffic Server TSMIMEHDRPARSE(3ts)

TSMimeHdrParse - TSMimeHdrParse API function

#include <ts/ts.h>


Parses a MIME header.

The MIME header must have already been allocated and both bufp and hdr_loc must point within that header. It is possible to parse a MIME header a single byte at a time using repeated calls to TSMimeHdrParse(). As long as an error does not occur, TSMimeHdrParse() consumes each single byte and asks for more.

2023, dev@trafficserver.apache.org

November 2, 2023 8.1