Improve HttpClient POST with REDIRECT tests (dotnet/corefx#36848)
authorDavid Shulman <david.shulman@microsoft.com>
Sun, 14 Apr 2019 03:16:43 +0000 (20:16 -0700)
committerGitHub <noreply@github.com>
Sun, 14 Apr 2019 03:16:43 +0000 (20:16 -0700)
commit8bd406c5f76a2b87ad77259cf4d8bc2d082e3536
tree9ec247657fc46adc77041e51a9dcdbba9ee034f7
parentbb42df4e9922fdddf05bae453b16b6a3dd6942b6
Improve HttpClient POST with REDIRECT tests (dotnet/corefx#36848)

This PR is similar to dotnet/corefx#36801 and dotnet/corefx#36828 which improved upload tests stability.

Modify the POST with REDIRECT test to use the VerifyUpload endpoint which avoids
having to echo back the large request body.

Closes dotnet/corefx#36220

Commit migrated from https://github.com/dotnet/corefx/commit/52d4723aaa8e561a6f36589a6d1e112287c0308b
src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.cs