Axiom
  1. Axiom
  2. AXIOM-280

Add access to the Content Transfer Encoding value from DataHandler

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.8
    • Fix Version/s: 1.2.16
    • Component/s: API
    • Labels:
      None

      Description

      We have a need to be able to identify how an SWA attachment was encoded in the message, by accessing the Content Transfer Encoding. Currently the DataHandler does contain this info, but there is no method you can use to get to the data.
      I have created a fix and an accompanying testcase. Please could you review the changes and if you're happy please could you integrate the fix.
      I intend to post on the Axiom mailing list to broadcast my suggestion.
      I've attached the diff details as an attachment.

        Issue Links

          Activity

          Hide
          Andreas Veithen added a comment -

          There is a discussion in WSCOMMONS-418 about this issue. Note that there the suggestion was to expose the "Part" interface in order to get to that information. Indeed, I'm not sure that exposing the MIME headers through an enhanced DataSource interface is the right way of doing things.

          PS: Can you please remove the patch from the description field and attach it properly to the JIRA issue?

          Show
          Andreas Veithen added a comment - There is a discussion in WSCOMMONS-418 about this issue. Note that there the suggestion was to expose the "Part" interface in order to get to that information. Indeed, I'm not sure that exposing the MIME headers through an enhanced DataSource interface is the right way of doing things. PS: Can you please remove the patch from the description field and attach it properly to the JIRA issue?
          Hide
          Andreas Veithen added a comment -

          For a similar request, see: http://markmail.org/thread/omk4bgihxo4xmez7

          Show
          Andreas Veithen added a comment - For a similar request, see: http://markmail.org/thread/omk4bgihxo4xmez7

            People

            • Assignee:
              Andreas Veithen
              Reporter:
              Tim Mitchell
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Development