AntiPattern
Conditional Parsing Misroutes
type-checked-branch-misroute
URL- and certificate-parsing logic branches on an imprecise type/check parameter instead of the actual parsed object fields, so header/body callbacks and union access diverge, producing inconsistent behavior and hard-to-debug parsing errors.