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:
Diffstat (limited to 'mcs/class/System/System.Net/HttpWebRequest.cs')
-rw-r--r--mcs/class/System/System.Net/HttpWebRequest.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/mcs/class/System/System.Net/HttpWebRequest.cs b/mcs/class/System/System.Net/HttpWebRequest.cs
index 1bfce20e76d..141802b0b98 100644
--- a/mcs/class/System/System.Net/HttpWebRequest.cs
+++ b/mcs/class/System/System.Net/HttpWebRequest.cs
@@ -170,7 +170,8 @@ namespace System.Net
internal bool InternalAllowBuffering {
get {
- return (allowBuffering && (method != "HEAD" && method != "GET"));
+ return (allowBuffering && (method != "HEAD" && method != "GET" &&
+ method != "MKCOL" && method != "CONNECT"));
}
}