Skip to content

Commit

Permalink
clarify http version test (dotnet#44379)
Browse files Browse the repository at this point in the history
Co-authored-by: Geoffrey Kizer <[email protected]>
  • Loading branch information
geoffkizer and Geoffrey Kizer authored Nov 8, 2020
1 parent 6cfef20 commit c82abc5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public async Task GetAsync_RequestVersion0X_ThrowsNotSupportedException(int mino

using (HttpClient client = CreateHttpClient())
{
HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Get, "http://bing.com");
HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Get, "http://nosuchhost.invalid");
request.Version = new Version(0, minorVersion);

Task<HttpResponseMessage> getResponseTask = client.SendAsync(TestAsync, request);
Expand Down

0 comments on commit c82abc5

Please sign in to comment.