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/12 10:27:11 UTC

[jira] [Updated] (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 updated CXF-5939:
----------------------------

    Description: 
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.

> 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
>             Fix For: 2.7.13, 3.0.2, 3.1.0
>
>
> 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.



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