You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm facing an issue regarding setting cookies using --extra-headers option.
I added multiple request headers in the JSON file, everyone of them is set correctly apart of cookie header.
The command which i'm using to set the extra headers is lighthouse --throttling-method=provided --emulated-form-factor=none https://www.google.com --extra-headers=path\to\file\headers.json
The contents of the headers json is below { "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "Accept-Encoding": "gzip, deflate, br", "Accept-Language": "en-US,en;q=0.9", "Cache-Control": "max-age=0", "Connection": "keep-alive", "Cookie": "newCookie=True", "Host": "www.example.com", "Domain": "www.example.com", "Upgrade-Insecure-Requests": "0", "If-Range": "\"68028a-125f89-58b04205e822f\"" }
Can you please specify what am I doing wrong and how to set the cookies?
Thanks,
Marius
The text was updated successfully, but these errors were encountered:
Hi,
I'm facing an issue regarding setting cookies using --extra-headers option.
I added multiple request headers in the JSON file, everyone of them is set correctly apart of cookie header.
The command which i'm using to set the extra headers is
lighthouse --throttling-method=provided --emulated-form-factor=none https://www.google.com --extra-headers=path\to\file\headers.json
The contents of the headers json is below
{ "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "Accept-Encoding": "gzip, deflate, br", "Accept-Language": "en-US,en;q=0.9", "Cache-Control": "max-age=0", "Connection": "keep-alive", "Cookie": "newCookie=True", "Host": "www.example.com", "Domain": "www.example.com", "Upgrade-Insecure-Requests": "0", "If-Range": "\"68028a-125f89-58b04205e822f\"" }
Can you please specify what am I doing wrong and how to set the cookies?
Thanks,
Marius
The text was updated successfully, but these errors were encountered: