Keep a single Content-Type response header while still on WireMock 3
MSALCollapse duplicate Content-Type response headers in both stub files and the Java DSL, but only where the module still depends on WireMock 3.x. Jetty 11 already served a single value there, so dropping the rest changes nothing; against 4.x the extra values really do reach the client, and removing them would.
org. openrewrite. java. testing. wiremock. RemoveDuplicateContentTypeHeadersmod run . --recipe= org. openrewrite. java. testing. wiremock. RemoveDuplicateContentTypeHeadersInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.