Preserve the UTF-8 default of ContentTypeHeader.charset()

MSAL

WireMock 3's ContentTypeHeader.charset() fell back to UTF_8 when the header was missing or carried no charset, while 4.x returns an Optional that is empty in those cases. Append orElse(StandardCharsets.UTF_8) so the value stays what it was; reaching for get() or orElse(null) instead, which is the easy way to make the compiler happy, would turn a missing charset into an exception or a null.

org.openrewrite.java.testing.wiremock.MigrateContentTypeHeaderCharset
mod run . --recipe=org.openrewrite.java.testing.wiremock.MigrateContentTypeHeaderCharset

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.