Loading
fix: tolerate Content-Type parameters in 'Check Response Headers Containing Content-Type set to'
Per RFC 9110 § 8.3, the Content-Type header may carry parameters such as 'charset=utf-8' alongside the media type. Brokers commonly emit 'application/json; charset=utf-8'; the assertion compared the full string with 'application/json' and so failed even though the content type is RFC-equivalent. Compare only the media-type portion (everything before ';') so the assertion matches HTTP semantics. Tests that intentionally want to check parameters can compose them in the expected value as well — the split is symmetric.