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
diff options
context:
space:
mode:
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2009-07-02 11:34:09 +0400
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2009-07-02 11:34:09 +0400
commit77e7d3d183ccbde9405192327efb6173029c453e (patch)
tree82b86b6d6889477b23885771c6e40920569695be /mcs/class/System
parent7ff2c1978d3cd77cd525255f70520c3556462811 (diff)
fix
svn path=/trunk/mcs/; revision=137239
Diffstat (limited to 'mcs/class/System')
-rw-r--r--mcs/class/System/System.Net/WebConnectionStream.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/mcs/class/System/System.Net/WebConnectionStream.cs b/mcs/class/System/System.Net/WebConnectionStream.cs
index 800901d8d7d..006536d5225 100644
--- a/mcs/class/System/System.Net/WebConnectionStream.cs
+++ b/mcs/class/System/System.Net/WebConnectionStream.cs
@@ -680,6 +680,7 @@ namespace System.Net
}
if (!headersSent) {
+ string method = request.Method;
bool no_writestream = (method == "GET" || method == "CONNECT" || method == "HEAD" ||
method == "TRACE" || method == "DELETE");
if (!no_writestream)