this particular commit has the failure restored, but its unclear if the
particular situation is representative.
added a sample of controlling mtom based on client accept header.