Closed Bug 1529978 Opened 7 years ago Closed 5 years ago

Provide ability to add or modify headers

Categories

(Web Compatibility :: Interventions, enhancement, P2)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: adamopenweb, Unassigned)

Details

Would be nice if we could add or modify HTTP headers. Dennis mentioned we could use the webrequest API.

A good use case is getting hi-res images from Facebook on Android by adding Client Hints DPR (depending on if / when we decide to add Client Hints):
https://bugzilla.mozilla.org/show_bug.cgi?id=1232091

Severity: normal → enhancement
Component: Tooling & Investigations → Interventions
Priority: -- → P2

We can do that with our "custom functions", where we can register arbitrary events to alter the request if we want to! So I'll close this bug - if there are specific use cases, I'm happy to hear about them, and file a new bug for implementing the specific intervention.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.