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
TSMIMEHDRFIELDGET(3ts) | Apache Traffic Server | TSMIMEHDRFIELDGET(3ts) |
NAME¶
TSMimeHdrFieldGet - TSMimeHdrFieldGet API functionSYNOPSIS¶
#include <ts/ts.h>- TSMLoc TSMimeHdrFieldGet(TSMBuffer bufp, TSMLoc hdr, int idx)
DESCRIPTION¶
Retrieves the location of a specified MIME field within the MIME header located at hdr_loc within bufp.The idx parameter specifies which field to retrieve. The fields are numbered from 0 to TSMimeHdrFieldsCount(bufp, hdr_loc) - 1. If idx does not lie within that range then TSMimeHdrFieldGet returns 0. Release the returned handle with a call to TSHandleMLocRelease.
COPYRIGHT¶
2019, dev@trafficserver.apache.orgMarch 8, 2019 | 7.1 |