Skip to content

[wasm] fix SendAsync_GetWithInvalidHostHeader_ThrowsException - doesn't throw on WASM #53874

@pavelsavara

Description

@pavelsavara

System.Net.Http.Functional.Tests.SocketsHttpHandlerTest_HttpClientHandlerTest_Headers_Http11.SendAsync_GetWithInvalidHostHeader_ThrowsException on WASM in browser expects HttpRequestMessage.Headers.Host validation.

Assert.Throws() Failure
Expected: typeof(System.Net.Http.HttpRequestException)\nActual:   (No exception was thrown)]]
   at System.Net.Http.Functional.Tests.HttpClientHandlerTest_Headers.SendAsync_GetWithInvalidHostHeader_ThrowsException()

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions