diff options
author | Mads Kruse Johnsen <mads@xmedicus.com> | 2018-11-14 13:50:48 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2018-11-14 13:50:48 +0300 |
commit | 0ade173b9bf67e6d172b00f4f5b236518ab8bd15 (patch) | |
tree | 0ede16605121fac97e461152c84f0e9492235473 /mcs/class/System.ServiceModel | |
parent | 1b02237c8f7ae837be713c472c09af474644ff28 (diff) |
[wcf] pass on the ContentType of MTOM message response (#11664)
Diffstat (limited to 'mcs/class/System.ServiceModel')
-rw-r--r-- | mcs/class/System.ServiceModel/System.ServiceModel.Channels/MtomMessageEncoder.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System.ServiceModel/System.ServiceModel.Channels/MtomMessageEncoder.cs b/mcs/class/System.ServiceModel/System.ServiceModel.Channels/MtomMessageEncoder.cs index 6dc293c3eed..64abc851186 100644 --- a/mcs/class/System.ServiceModel/System.ServiceModel.Channels/MtomMessageEncoder.cs +++ b/mcs/class/System.ServiceModel/System.ServiceModel.Channels/MtomMessageEncoder.cs @@ -80,7 +80,7 @@ namespace System.ServiceModel.Channels // FIXME: create proper quotas return Message.CreateMessage ( XmlDictionaryReader.CreateMtomReader ( - stream, encoding, quotas), + stream, new Encoding[1] { encoding }, contentType, quotas), maxSizeOfHeaders, MessageVersion); } |