Open Bug 1530022 Opened 1 year ago Updated 2 months ago

Pass a WebResponse to ContentDelegate.onExternalResponse

Categories

(GeckoView :: General, enhancement, P2)

Unspecified
All
enhancement

Tracking

(Not tracked)

People

(Reporter: snorp, Unassigned)

References

Details

This will enable apps to be able to read the response without having to make a second request.

I thought this would be relatively easy after streaming support was added to WebResponse, but e10s stuff is proving thorny.

P2 because Fenix has not asked for this yet. Implementing this will be tricky due to e10s process issues.

Priority: -- → P2

Fenix and Android-Components need this API (or some other way to access a stream from onExternalResponse) for a GeckoView-based DownloadManager, as previous discussed in 1522705.

A-C issue: https://github.com/mozilla-mobile/android-components/issues/1968

Flags: needinfo?(snorp)

(In reply to Tiger Oakes from comment #3)

Fenix and Android-Components need this API (or some other way to access a stream from onExternalResponse) for a GeckoView-based DownloadManager, as previous discussed in 1522705.

A-C issue: https://github.com/mozilla-mobile/android-components/issues/1968

Yeah, that would be ideal -- but for now, it's likely good enough to simply make a second request using GeckoWebExecutor.

Flags: needinfo?(snorp)
Rank: 45
You need to log in before you can comment on or make changes to this bug.