SoapWriter use default suboptimal Content-Transfer-Encoding
-----------------------------------------------------------

                 Key: SM-1057
                 URL: https://issues.apache.org/activemq/browse/SM-1057
             Project: ServiceMix
          Issue Type: Improvement
          Components: servicemix-soap
    Affects Versions: 3.1.1
            Reporter: Tomasz Wysocki


Currently SoapWriter class does not enforce in any way 
Content-Transfer-Encoding for attachments.
This causes to choose base64 for binary content.

Suggestion for change:

            part.setDataHandler(dh);
            part.setContentID("<" + id + ">");
            // optimization - attachments will use binary encoding
            part.setHeader("Content-Transfer-Encoding", "binary");



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to