Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel de la Pena <mandel@microsoft.com>2018-12-20 15:37:23 +0300
committerMarek Safar <marek.safar@gmail.com>2018-12-21 15:12:53 +0300
commit5c2267c5a76c2fdc160b23b816a6b1bd89df7a95 (patch)
treefee3e31c99c1c2f604986efa80f3810927c0b006 /mcs/class/System.Net.Http
parent2bb9a2b39ae3120f974300e46bc85b8784514bec (diff)
Fix error while chaging the request :/
Diffstat (limited to 'mcs/class/System.Net.Http')
-rw-r--r--mcs/class/System.Net.Http/CFNetworkHandler.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System.Net.Http/CFNetworkHandler.cs b/mcs/class/System.Net.Http/CFNetworkHandler.cs
index 72779aa823a..315dfe5fa08 100644
--- a/mcs/class/System.Net.Http/CFNetworkHandler.cs
+++ b/mcs/class/System.Net.Http/CFNetworkHandler.cs
@@ -269,7 +269,7 @@ namespace System.Net.Http
bucket.StreamCanBeDisposed = true;
// remove headers in a redirect for Authentication.
request.Headers.Authorization = null;
- var redirectResponse = await SendAsync (redirectRequest, cancellationToken, false).ConfigureAwait (false);
+ var redirectResponse = await SendAsync (request, cancellationToken, false).ConfigureAwait (false);
return redirectResponse;
}
return initialRequest;