[
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.
I noted this very old discussion on the topic
https://www.java.net/node/686289
was:
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.
> 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)