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

SoapWriter use default suboptimal Content-Transfer-Encoding

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2013.02
    • Component/s: servicemix-soap
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              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