Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-2631

RESTEasy appends "charset=utf-8" to OutputPart's content-type "image/png" or "image/jpeg" for multipart/form-data requests

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 3.0.19.Final, 4.6.0.Final
    • jaxrs
    • None
    • Compatibility/Configuration

    Description

      When I call a REST endpoint with content-type "multipart/form-data", then JBoss alwas appends ";charset=utf-8" to the content-type of a part, not only for text-based content-types, but also for binary e.g. "image/png" or "image/jpeg".

      Problem is now, that the receiving .NET application has problems interpreting InputParts with content-type e.g. "image/png; charset=utf8".

      Is there a way to change this behavior?

      Attachments

        Activity

          People

            rsigal@redhat.com Ronald Sigal
            ckuenzle Christoph Künzle (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: