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
TSHTTPHDRCOPY(3ts) | Apache Traffic Server | TSHTTPHDRCOPY(3ts) |
NAME¶
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_bufpSYNOPSIS¶
#include <ts/ts.h>- TSReturnCode TSHttpHdrCopy(TSMBuffer dest_bufp, TSMLoc dest_offset, TSMBuffer src_bufp, TSMLoc src_offset)
DESCRIPTION¶
TSHttpHdrCopy() works correctly even if src_bufp and dest_bufp point to different developer-plugins-http-headers-marshal-buffers. Make sure that you create the destination HTTP header before copying into it.NOTE:
TSHttpHdrCopy() appends the port number to the
domain of the URL portion of the header. For example, a copy of
http://www.example.com appears as http://www.example.com:80 in
the destination buffer.
COPYRIGHT¶
2019, dev@trafficserver.apache.orgMarch 8, 2019 | 7.1 |