Closed Bug 1680455 Opened 5 years ago Closed 5 years ago

Add custom HTTP header column for network requests

Categories

(DevTools :: Netmonitor, enhancement, P3)

Firefox 83
enhancement

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1377013

People

(Reporter: blitternet, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0

Steps to reproduce:

  1. Open the Network tab of Devtools
  2. Right-click on a header of requests shown within the Network inspector
  3. Click on the Response Headers submenu

Actual results:

Following these steps, you have the ability to show a column for these well-known headers:

  • Cache-Control
  • Connection
  • Content-Encoding
  • Content-Length
  • Etag
  • Keep-Alive
  • Last-Modified
  • Server
  • Vary

Expected results:

At the bottom of this list, I wish for a "Custom..." option to create a column in the Network inspector that will show [string] values for the header I type in.

One could add a column for "X-Powered-By" or others with this method. Without this convenience, one needs to select each network request to see the request headers. It is not easy "at-a-glance" to view the values associated with an application-specific header.

This proposal is a request to keep parity with a simple feature from Chrome Devtools (with the addition of an enhancement mentioned below).

Resetting columns would remove all custom/specified HTTP headers.

Custom headers could be toggled on/off in the Response Headers context menu up to the point they are removed by resetting columns.

It would be an enhancement to add glob matching (e.g. "X-Forwarded-*") or matching headers by regular expression. Glob matching reduces the complexity of this feature addition.

Please see the attached screenshot for the current visible behavior.

This proposal is related to this other report, but the original does not mention custom headers: https://bugzilla.mozilla.org/show_bug.cgi?id=862855

This proposal is based on behavior seen in Chrome here: https://youtu.be/KykP5Z5E4kA?t=947

Clarification: Each added custom header would be listed in the submenu for Response Headers up to the point you reset columns. It would NOT be a toggle to show/hide /all/ custom headers.

Agree, this would be a great feature.

Honza

Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3

I did not search hard enough, this report is largely a duplicate of: https://bugzilla.mozilla.org/show_bug.cgi?id=1377013

(with the addition of glob-matching headers)

Thanks for the update!
Honza

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

Attachment

General

Creator:
Created:
Updated:
Size: