TSMimeHdrClone - TSMimeHdrClone API function
Contents
Copyright
2025, dev@trafficserver.apache.org
9.2 May 22, 2025 TSMIMEHDRCLONE(3ts)
Description
Copies a specified MIME header to a specified marshal buffer, and returns the location of the copied MIME
header within the destination marshal buffer.
Unlike TSMimeHdrCopy(), you do not have to create the destination MIME header before cloning. Release
the returned TSMLoc handle with a call to TSHandleMLocRelease().
Name
TSMimeHdrClone - TSMimeHdrClone API function
Synopsis
#include <ts/ts.h>
TSReturnCodeTSMimeHdrClone(TSMBufferdest_bufp,TSMBuffersrc_bufp,TSMLocsrc_hdr,TSMLoc*locp)