<div dir="ltr">Hi all,<div>apologies if this is an old topic but I've noticed that has_body() can provide false positives and would like to discuss a solution.</div><div><br></div><div>As a practical example, has_body("application/vq-rtcpxr") was returning 1 for Content-Type "application/dialog-info+xml".</div><div><br></div><div>The interpretation is that they are both unknown and so they match.</div><div><br></div><div>Using 'if ($cT == "application/vq-rtcpxr)" provides a work around, but I wonder what's the suggested solution for this?</div><div><br></div><div>a. Add the missing mime types (from RFC 6035 and 4235 respectively) to the list</div><div>b. Instead of returning 1, return another code, e.g. 2, when the mime type is unknown</div><div>c. Switch to string comparison when the mime type is unknown</div><div>d. Something else?</div><div><br></div><div>Thanks,</div><div>Giacomo</div><div><br></div></div>