Open Bug 984122 Opened 10 years ago Updated 2 years ago

Option to set persistent custom headers for all requests.

Categories

(DevTools :: Netmonitor, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: danemacmillan, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

It would be pretty cool if there were an option to set a header that would persist until turned off. Currently there is an option to edit and resend a request, which is immensely useful, but I think having some interface or option to persist a header would be amazing. I don't just mean for a given URL, but for every request sent out from the browser. There is a plugin called "Modify Headers" that does this, for reference: https://addons.mozilla.org/en-US/firefox/addon/modify-headers/.

If it were to be located inside the Network tab, having it next to the performance analysis button would be a possible location.
Product: Firefox → DevTools
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Attached image image.png

Sizzy (https://sizzy.co/) has a feature allowing to add a new custom header override for all HTTP Request made by the page. Every custom header can be switched on/off and has three fields

  • header name
  • header value
  • label (helps to understand what is it for)

Demo: https://twitter.com/sizzyapp/status/1225113852779671552


What if the headers panel had a new section (next to "Response Headers" and "Request Headers") called "Custom Headers" allowing the user to create new custom headers. UI similar to how we do request-blocking or XHR breakpoints.

Honza

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: