table of contents
other versions
- stretch 7.0.0-6+deb9u2
- testing 8.0.2+ds-1
- stretch-backports 7.1.6+ds-1~bpo9+2
- unstable 8.0.3+ds-2
TSMIMEHDRFIELDFIND(3ts) | Apache Traffic Server | TSMIMEHDRFIELDFIND(3ts) |
NAME¶
TSMimeHdrFieldFind - TSMimeHdrFieldFind API functionSYNOPSIS¶
#include <ts/ts.h>- TSMLoc TSMimeHdrFieldFind(TSMBuffer bufp, TSMLoc hdr, const char * name, int length)
DESCRIPTION¶
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().
COPYRIGHT¶
2019, dev@trafficserver.apache.orgMarch 8, 2019 | 7.1 |