MicrosoftEdge / MicrosoftEdge/WebView2Feedback
Get response streams for all urls/GetContentAsync issue
@champnic is already working on this.
Since Jan 25, 2022.
- 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;
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.