DOKK / manpages / debian 10 / trafficserver-dev / TSMimeHdrFieldFind.3ts.en
TSMIMEHDRFIELDFIND(3ts) Apache Traffic Server TSMIMEHDRFIELDFIND(3ts)

TSMimeHdrFieldFind - TSMimeHdrFieldFind API function

#include <ts/ts.h>


Retrieves the TSMLoc location of a specified MIME field from within the MIME header located at hdr.

The name and length parameters specify which field to retrieve. For each MIME field in the MIME header, a case insensitive string comparison is done between the field name and name. If TSMimeHdrFieldFind() cannot find the requested field, it returns TS_NULL_MLOC. Release the returned TSMLoc handle with a call to TSHandleMLocRelease().

2022, dev@trafficserver.apache.org

May 21, 2022 8.0