DOKK / manpages / debian 12 / trafficserver-dev / TSMimeHdrCopy.3ts.en
TSMIMEHDRCOPY(3ts) Apache Traffic Server TSMIMEHDRCOPY(3ts)

TSMimeHdrCopy - TSMimeHdrCopy API function

#include <ts/ts.h>



Copies the contents of the MIME header located at src_loc within src_bufp to the MIME header located at dest_loc within dest_bufp.

TSMimeHdrCopy() works correctly even if src_bufp and dest_bufp point to different marshal buffers.

IMPORTANT:

You must create the destination MIME header before copying into it, using TSMimeHdrCreate().


2023, dev@trafficserver.apache.org

November 2, 2023 9.2