You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Jason Pell (JIRA)" <ji...@apache.org> on 2014/08/13 05:17:12 UTC

[jira] [Closed] (CXF-5939) Support mtom configuration at run time using Accept header

     [ https://issues.apache.org/jira/browse/CXF-5939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Pell closed CXF-5939.
---------------------------

    Resolution: Invalid

I have decided that this feature does not belong in CXF, so am closing the request.

http://cxf.547215.n5.nabble.com/Controlling-mtom-using-client-headers-td5747603.html


> Support mtom configuration at run time using Accept header
> ----------------------------------------------------------
>
>                 Key: CXF-5939
>                 URL: https://issues.apache.org/jira/browse/CXF-5939
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAX-WS Runtime
>    Affects Versions: 2.7.12, 3.0.1
>            Reporter: Jason Pell
>            Assignee: Jason Pell
>            Priority: Minor
>
> If the Accept header is empty, and mtom is enabled, mtom will function as before.  
> If any Accept headers are defined, then In order for MTOM to be enabled, the header must be one of:
> 1) *
> 2) */*
> 3) application/*
> 4) application/xop+xml
> Any other headers will cause the attachments to be inlined.  Existing MTOM thresholds, etc will continue to be effective.
> I noted this very old discussion on the topic
> https://www.java.net/node/686289



--
This message was sent by Atlassian JIRA
(v6.2#6252)