Can JBoss EAP be configured to force a desired charset in response Content-Type headers?

Solution Verified - Updated -

Issue

  • We have some responses providing a Content-Type header with no specified charset. We would prefer all response Content-Types contain a charset. Is there any option to have JBoss's response headers always modified to add a desired charset to the response Content-Type header?

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 7.x
    • 8.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content