Details

    • Sub-task
    • Resolution: Done
    • Major
    • 4.0.0.Final
    • None
    • EAP6 -> EAP7
    • None
    • Sprint 38

    Description

      Charset UTF-8 in Content-Type Header is in EAP 7.1 now set as default.

      When:
      If a resource method returns a Text media type without an explicit charset, Resteasy will add "charset=UTF-8" to the returned Content-Type header.
      @Produces("text/*")
      or
      @Produces("application/xml*")

      Perform:
      Warn about default UTF-8 charset and suggest to set resteasy.add.charset to false in web.xml <context-param> if the functionality is not wanted.

      Links:

      Attachments

        Activity

          People

            mnovotny@redhat.com Marek Novotny
            mnovotny@redhat.com Marek Novotny
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: