Add custom HTTP header column for network requests
Categories
(DevTools :: Netmonitor, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: blitternet, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
|
84.18 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0
Steps to reproduce:
- Open the Network tab of Devtools
- Right-click on a header of requests shown within the Network inspector
- 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.
Comment 2•5 years ago
|
||
Agree, this would be a great feature.
Honza
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)
Comment 4•5 years ago
|
||
Thanks for the update!
Honza
Description
•