Skip to content

[wasm][HTTP] TypeError: Failed to execute 'fetch' on 'Window': 'TRACE' HTTP method is unsupported. #53592

Open

Description

@pavelsavara

This is behavior of underlying browser network component which makes sense. The open question is if we want to wrap the exception message

Details

Failing tests System.Net.Http.Functional.Tests.HttpClientHandler_RemoteServerTest when executed on Wasm/Browser in Outerloop tests.

Methods

  • SendAsync_SendRequestUsingMethodToEchoServerWithNoContent_MethodCorrectlySent
  • SendAsync_SendRequestUsingNoBodyMethodToEchoServerWithContent_NoBodySent

Fails with

System.Net.Http.HttpRequestException : TypeError: Failed to execute 'fetch' on 'Window': 'TRACE' HTTP method is unsupported.
   at System.Net.Http.BrowserHttpHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at System.Net.Http.Functional.Tests.HttpClientHandler_RemoteServerTest.SendAsync_SendRequestUsingNoBodyMethodToEchoServerWithContent_NoBodySent(String method, Uri serverUri)

Activity

  1. ghost added
    untriaged
    on Jun 2, 2021
  2. added this to the 6.0.0 milestone on Jun 8, 2021
  3. removed
    untriaged
    on Jun 8, 2021
  4. karelz commented on Jun 8, 2021

    @karelz
    Member

    @pavelsavara FYI: I marked it triaged on your behalf

  5. modified the milestones: 6.0.0, 7.0.0 on Jun 18, 2021
  6. modified the milestones: 7.0.0, 8.0.0 on Aug 11, 2022
  7. self-assigned this
    on Aug 22, 2022
  8. modified the milestones: 8.0.0, Future on Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions