fluttercommunity / fluttercommunity/flutter_webview_plugin

Possible to capture response headers when page finishes loading?

Open
#702 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
1.5k
Forks
938
PR merge metrics
No merged PRs in 30d

Description

I would like to get the headers of the http response we get back. It seems that we can the the url, cookies, user agent (by evaluating javascript), and the html string (again, by evaluating javascript), but we don't even get access to the response object itself, which makes getting headers impossible. Is there a way to do it, or plan to support it in the future? I believe in native webviews we can access the headers.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the plugin's native WebView integration and how page-finished events are exposed to Flutter. Determine whether response headers can be obtained from the native WebView APIs, and define completion as making those headers available to the Flutter side when a page finishes loading.

Written by the indexing model from the issue text.

Assessment

Tech stack
flutter, java
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.