.\" Man page generated from reStructuredText. . . .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 .. .TH "TSMIMEHDRFIELDREMOVE" "3ts" "Nov 02, 2023" "9.2" "Apache Traffic Server" .SH NAME TSMimeHdrFieldRemove \- TSMimeHdrFieldRemove API function .SH SYNOPSIS .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C #include .ft P .fi .UNINDENT .UNINDENT .INDENT 0.0 .TP .B \fI\%TSReturnCode\fP TSMimeHdrFieldRemove(\fI\%TSMBuffer\fP bufp, \fI\%TSMLoc\fP hdr, \fI\%TSMLoc\fP field) .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 \fI\%TSMimeHdrFieldAppend()\fP\&. If you do not use the detached field you should destroy it with a call to \fI\%TSMimeHdrFieldDestroy()\fP and release the handle field with a call to \fI\%TSHandleMLocRelease()\fP\&. .UNINDENT .UNINDENT .SH COPYRIGHT 2023, dev@trafficserver.apache.org .\" Generated by docutils manpage writer. .