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

      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:

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

                Created:
                Updated:
                Resolved: