set expect 100 continue for post requests

This commit is contained in:
Luke Pulverenti 2013-12-22 12:16:40 -05:00
parent f20f3b4b68
commit 32b88ce342

View File

@ -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>