4506 Addendum: HTTP Accept Header Value

Pete Wenzel <[email protected]> Wed, 11 Jul 2007 10:48:35 -0700
Newsgroups gmane.text.xml.distributed
Message-ID <[email protected]>
The 6/27 minutes at
http://www.w3.org/2007/06/27-xmlprotocol-minutes.html
show that the WG agreed to the following text proposed by Anish:

  "For example, when using SOAP/HTTP binding, the 'Accept' HTTP header
  value of 'application/xop+xml' in the request message indicates that
  the response may be sent using MTOM encoding."

When this had been discussed previously, I expressed concern, because
the outermost wrapper is, of course, the multipart/related media type,
not application/xop+xml.  Fortunately, the HTTP Accept header allows
parameter qualifications, so a value of

  multipart/related; type=application/xop+xml

should accurately express what is intended.

--Pete
Pete Wenzel <[email protected]>
Join the Open ESB Community <http://open-esb.org/>