Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mcs
diff options
context:
space:
mode:
authorAndreia Gaita <avidigal@novell.com>2010-03-03 07:37:23 +0300
committerAndreia Gaita <avidigal@novell.com>2010-03-03 07:37:23 +0300
commit8309cc7fb4e185b5f5494545630bd342ea393ed5 (patch)
tree5d57c45c9b6e0d8c249c6527b48d4f5adf0a7085 /mcs
parent77471052ed1f552516fdb8bee13448de2ffe6c7b (diff)
2010-03-03 Andreia Gaita <avidigal@novell.com>
* InternalWebRequestStreamWrapper.cs: don't add a newline to the request data, whatever uses the data should be the one adding newlines if they need it (i.e., moon's ff bridge needs it, the curl bridge doesn't) svn path=/trunk/mcs/; revision=152898
Diffstat (limited to 'mcs')
-rw-r--r--mcs/class/System.Net/System.Net/ChangeLog7
-rw-r--r--mcs/class/System.Net/System.Net/InternalWebRequestStreamWrapper.cs4
2 files changed, 7 insertions, 4 deletions
diff --git a/mcs/class/System.Net/System.Net/ChangeLog b/mcs/class/System.Net/System.Net/ChangeLog
index c60c2813be1..8dab13acca7 100644
--- a/mcs/class/System.Net/System.Net/ChangeLog
+++ b/mcs/class/System.Net/System.Net/ChangeLog
@@ -1,3 +1,10 @@
+2010-03-03 Andreia Gaita <avidigal@novell.com>
+
+ * InternalWebRequestStreamWrapper.cs: don't add a newline to the
+ request data, whatever uses the data should be the one adding
+ newlines if they need it (i.e., moon's ff bridge needs it, the
+ curl bridge doesn't)
+
2010-02-25 Rolf Bjarne Kvinge <RKvinge@novell.com>
* WebClient_2_1.cs: Emit DownloadProgressChanged events on the correct
diff --git a/mcs/class/System.Net/System.Net/InternalWebRequestStreamWrapper.cs b/mcs/class/System.Net/System.Net/InternalWebRequestStreamWrapper.cs
index 8271931a264..bd05bc4d566 100644
--- a/mcs/class/System.Net/System.Net/InternalWebRequestStreamWrapper.cs
+++ b/mcs/class/System.Net/System.Net/InternalWebRequestStreamWrapper.cs
@@ -89,10 +89,6 @@ namespace System.Net {
public override void Write (byte [] buffer, int offset, int count)
{
- // make sure we start with a new line
- if ((count > 0) && (Length == 0))
- stream.WriteByte ((byte) '\n');
-
stream.Write (buffer, offset, count);
}