diff options
author | Gonzalo Paniagua Javier <gonzalo.mono@gmail.com> | 2009-07-02 11:34:09 +0400 |
---|---|---|
committer | Gonzalo Paniagua Javier <gonzalo.mono@gmail.com> | 2009-07-02 11:34:09 +0400 |
commit | 77e7d3d183ccbde9405192327efb6173029c453e (patch) | |
tree | 82b86b6d6889477b23885771c6e40920569695be /mcs/class/System | |
parent | 7ff2c1978d3cd77cd525255f70520c3556462811 (diff) |
fix
svn path=/trunk/mcs/; revision=137239
Diffstat (limited to 'mcs/class/System')
-rw-r--r-- | mcs/class/System/System.Net/WebConnectionStream.cs | 1 |
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) |