aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-12-22 12:16:40 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-12-22 12:16:40 -0500
commit32b88ce342cdd8a1dc32ac5b29e4e08aa8c8067a (patch)
tree53aa8ab1532cee6082a9b22f9f24d6b342fc5023
parentf20f3b4b68cc7309a7d0d62f6ebcb3db4482a9e1 (diff)
set expect 100 continue for post requests
-rw-r--r--MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs b/MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs
index 07c0f8ab7..a5b241b4b 100644
--- a/MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs
+++ b/MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs
@@ -64,6 +64,9 @@ namespace MediaBrowser.Common.Implementations.HttpClientManager
_logger = logger;
_fileSystem = fileSystem;
_appPaths = appPaths;
+
+ // http://stackoverflow.com/questions/566437/http-post-returns-the-error-417-expectation-failed-c
+ ServicePointManager.Expect100Continue = false;
}
/// <summary>