.\" Man page generated from reStructuredText. . .TH "TSMIMEHDRFIELDAPPEND" "3ts" "Dec 06, 2020" "8.0" "Apache Traffic Server" .SH NAME TSMimeHdrFieldAppend \- TSMimeHdrFieldAppend API function . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH SYNOPSIS .sp \fI#include \fP .INDENT 0.0 .TP .B TSReturnCode TSMimeHdrFieldAppend(TSMBuffer\fI\ bufp\fP, TSMLoc\fI\ hdr\fP, TSMLoc\fI\ field\fP) .UNINDENT .SH DESCRIPTION .sp Attaches a MIME \fIfield\fP to a header. The header is represented by the \fIbufp\fP and \fIhdr\fP arguments which should have been obtained by a call to \fBTSHttpTxnClientReqGet()\fP or similar. If the field in \fIfield\fP was created by calling \fBTSMimeHdrFieldCreateNamed()\fP the same \fIbufp\fP and \fIhdr\fP passed to that should be passed to this function. .sp Returns \fBTS_SUCCESS\fP if the \fIfield\fP was attached to the header, \fBTS_ERROR\fP if it was not. Fields cannot be attached to read only headers. .SH COPYRIGHT 2020, dev@trafficserver.apache.org .\" Generated by docutils manpage writer. .