MicrosoftEdge / MicrosoftEdge/WebView2Feedback

CoreWebView2.NavigationStarting should include the HTTP method used

Open
#1,342 1 comment 1 reaction 1 assignee View on GitHub

@zhuhaichao518 is already working on this.

Since Jan 3, 2023.

feature request tracked
Dominant language
PowerShell
Stars
526
Forks
67
PR merge metrics
No merged PRs in 30d

Description

WebView2 currently includes request headers, but does not indicate what verb (e.g. GET, POST, ..) is used when CoreWebView2.NavigationStarting event is raised.

Surfacing this information would allow us to more correctly react to certain user actions.

For example, Apple's WebKit includes this information:

https://developer.apple.com/documentation/webkit/wknavigationaction
https://developer.apple.com/documentation/foundation/urlrequest

URLRequest encapsulates two essential properties of a load request: the URL to load and the policies used to load it. In addition, for HTTP and HTTPS requests, URLRequest includes the HTTP method (GET, POST, and so on) and the HTTP headers.

AB#33615879

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.