diff options
author | Martin Baulig <mabaul@microsoft.com> | 2017-12-14 12:06:47 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2017-12-14 12:06:47 +0300 |
commit | cd09ddbc55c9866703d43fb8b089978dec2c4ef3 (patch) | |
tree | 8c2a3d63fdf9f36727316e78d3597daaa0fe9238 /mcs/class/System.Net.Http | |
parent | 76d7ab281db976c40e9f15176e0b5a3488bad869 (diff) |
New PR for the new web stack (#6125)
Diffstat (limited to 'mcs/class/System.Net.Http')
-rw-r--r-- | mcs/class/System.Net.Http/System.Net.Http/HttpClientHandler.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System.Net.Http/System.Net.Http/HttpClientHandler.cs b/mcs/class/System.Net.Http/System.Net.Http/HttpClientHandler.cs index 7d154cd8fdc..dae2cd2350a 100644 --- a/mcs/class/System.Net.Http/System.Net.Http/HttpClientHandler.cs +++ b/mcs/class/System.Net.Http/System.Net.Http/HttpClientHandler.cs @@ -387,7 +387,7 @@ namespace System.Net.Http } } - wrequest.ResendContentFactory = content.CopyTo; + wrequest.ResendContentFactory = content.CopyToAsync; using (var stream = await wrequest.GetRequestStreamAsync ().ConfigureAwait (false)) { await request.Content.CopyToAsync (stream).ConfigureAwait (false); |