Files
dotnet-runtime/src/libraries/System.Net.Http/tests
Stephen Toub 8f623a92be Override HttpContent.CreateContentReadStreamAsync in MultipartContent
MultipartContent doesn't override CreateContentReadStreamAsync.  This means that a ReadAsStreamAsync operation will end up serializing all of the content to a MemoryStream, which can be problematic for very large content, preventing such content from being uploaded with some HttpClientHandlers.  This change overrides CreateContentReadStreamAsync to use a custom stream that delegates to all of the inner streams from each content.


Commit migrated from https://github.com/dotnet/corefx/commit/b1d20b427fb68f468740b5ad55c04d41064e1396
2016-06-14 23:23:47 -04:00
..