Bug 263927 - Web Inspector: Allow to override HTTP headers in Create Request Local Override
Summary: Web Inspector: Allow to override HTTP headers in Create Request Local Override
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: Safari 17
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-10-30 15:32 PDT by Karl Dubost
Modified: 2023-10-30 15:32 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Dubost 2023-10-30 15:32:20 PDT
1. Go to a webpage
2. Open Web Inspector
3. Go to Network tab
4. Ctrl+Click one of the resources on the left tab
5. Choose Create Request Local Override

You can modify the body of the Request if there is one. (HTTP POST or PUT for example)
but you can't modify the HTTP headers.

There are cases someone wants to modify the HTTP headers to test a variation of response depending on the new header. 
For example, testing that a site reacts differently if only the HTTP User Agent is changed for one single resource.
Comment 1 Radar WebKit Bug Importer 2023-10-30 15:32:35 PDT
<rdar://problem/117708380>