CDP request headers missing at Network.requestWillBeSent event
Reported by
email4m...@gmail.com,
Sep 25
|
||||
Issue descriptionUserAgent: 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:
,
Sep 25
,
Nov 9
,
Nov 9
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 |
||||
Comment 1 by vamshi.kommuri@chromium.org
, Sep 25