From 32b88ce342cdd8a1dc32ac5b29e4e08aa8c8067a Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 22 Dec 2013 12:16:40 -0500 Subject: [PATCH] set expect 100 continue for post requests --- .../HttpClientManager/HttpClientManager.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs b/MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs index 07c0f8ab7a..a5b241b4b8 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; } ///