New issue
Advanced search Search tips

Issue 888946 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Closed: Nov 9
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

CDP request headers missing at Network.requestWillBeSent event

Reported by email4m...@gmail.com, Sep 25

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36

Steps to reproduce the problem:
1. it's more like a new feature  :)

What is the expected behavior?

What went wrong?
currently request headers at `Network.requestWillBeSent` event we can see is too less,  headers like 'Host', 'Cookie', 'Referer' and others is missing, but available after response from `Response.requestHeaders()`.   so in `puppeteer` project, we can not get all request headers if the request is aborted (no response any more)

Did this work before? No 

Chrome version: 68.0.3440.106  Channel: stable
OS Version: OS X 10.13.6
Flash Version:
 
Labels: Needs-Milestone
Components: -Platform>DevTools Platform>DevTools>Network
Owner: caseq@chromium.org
Status: Assigned (was: Unconfirmed)
Owner: jarhar@chromium.org
Status: WontFix (was: Assigned)
Unfortunately, this is a limitation of our instrumentation - the actual headers sent to the server are not known that early. That's why we report them later together with the response. It's very unlikely we'll be able to fix this, as it requires substantial redesign of our instrumentation.

Sign in to add a comment