Uploaded image for project: 'ServiceMix Components'
  1. ServiceMix Components
  2. SMXCOMP-153

SoapWriter use default suboptimal Content-Transfer-Encoding

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 2013.02
    • servicemix-soap
    • None

    Description

      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");

      Attachments

        Activity

          People

            Unassigned Unassigned
            tawek Tomasz Wysocki
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified