MicrosoftEdge / MicrosoftEdge/WebView2Feedback

Get response streams for all urls/GetContentAsync issue

Open
#2,091 5 comments 0 reactions 1 assignee View on GitHub

@champnic is already working on this.

Since Jan 25, 2022.

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

Description

When setting the source to an url ending with .json I correctly get a get a CoreWebView2_WebResourceResponseReceived event, and awaiting e.Response.GetContentAsync() I can read the stream and get the json contents.
However, when setting the source to an url ending with .m3u8 the resulting stream of GetContentAsync() is null and I'm greeted with a downloadbox (which apparently already downloaded the contents to my downloadfolder, so after my experiments I ended up with quite a lot of m3u8 files in it).
Is there some setting so that all urls are treated equally, and neatly return a stream which I can read?

sample urls:

https://filesamples.com/samples/code/json/sample2.json
https://multiplatform-f.akamaihd.net/i/multi/will/bunny/big_buck_bunny_,640x360_400,640x360_700,640x360_1000,950x540_1500,.f4v.csmil/master.m3u8;

AB#37968068

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.