* TcpClientChannel.cs: Fixed constructor.
[mono.git] / mcs / class / System.Runtime.Remoting / System.Runtime.Remoting.Channels / BinaryClientFormatterSink.cs
index 22c6e353adabec13431487335ed3059e8a68e155..94e3845c260a721bdbc6fe3e893111a265c0fa19 100644 (file)
@@ -125,6 +125,7 @@ namespace System.Runtime.Remoting.Channels
 
                                ITransportHeaders call_headers = new TransportHeaders();
                                call_headers[CommonTransportKeys.RequestUri] = ((IMethodCallMessage)msg).Uri;
+                               call_headers["Content-Type"] = "application/octet-stream";
 
                                Stream call_stream = nextInChain.GetRequestStream(msg, call_headers);
                                if (call_stream == null) call_stream = new MemoryStream ();