TSHttpHdrCopy
copies the contents of the HTTP header located at src_loc within src_bufp to the HTTP header located at dest_loc within dest_bufp
- Provided by: trafficserver-dev (Version: 5.3.0-2ubuntu2)
- Source: trafficserver
- Report a bug
copies the contents of the HTTP header located at src_loc within src_bufp to the HTTP header located at dest_loc within dest_bufp
#include <ts/ts.h>
TSHttpHdrCopy() works correctly even if src_bufp and dest_bufp point to different marshal buffers. Make sure that you create the destination HTTP header before copying into it.
NOTE:
2014, dev@trafficserver.apache.org