.\" Man page generated from reStructuredText. . .TH "TSMIMEHDRFIELDREMOVE" "3ts" "January 24, 2017" "7.0" "Apache Traffic Server" .SH NAME TSMimeHdrFieldRemove \- . .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 TSMimeHdrFieldRemove(TSMBuffer\fI\ bufp\fP, TSMLoc\fI\ hdr\fP, TSMLoc\fI\ field\fP) .UNINDENT .SH DESCRIPTION .sp Removes the MIME field located at \fIfield\fP within \fIbufp\fP from the header located at \fIhdr\fP within \fIbufp\fP\&. .sp If the specified field cannot be found in the list of fields associated with the header then nothing is done. .sp \fBNOTE:\fP .INDENT 0.0 .INDENT 3.5 Removing the field does not destroy the field. It only detaches the field, hiding it from the printed output. The field can be reattached with a call to \fBTSMimeHdrFieldAppend()\fP\&. If you do not use the detached field you should destroy it with a call to \fBTSMimeHdrFieldDestroy()\fP and release the handle field with a call to \fBTSHandleMLocRelease()\fP\&. .UNINDENT .UNINDENT .SH COPYRIGHT 2015, dev@trafficserver.apache.org .\" Generated by docutils manpage writer. .