New issue
Advanced search Search tips

Issue 811037 link

Starred by 3 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Feb 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Missing Accept-Language header in Headless mode

Reported by vitaliy....@gmail.com, Feb 10 2018

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6

Steps to reproduce the problem:
1. Run Chromium in headless mode
2. Navigate to http://localhost:9222 in non-headless browser and click to 'about:blank' link
3. In opened app enter any valid url
4. Observer the Network tab and check the first request to the domain.

What is the expected behavior?
Accept-Language header must be presented in the HTTP headers

What went wrong?
Accept-Language header is missing from HTTP headers

Did this work before? No 

Does this work in other browsers? Yes

Chrome version: 66.0.3342.0  Channel: canary
OS Version: OS X 10.12.6
Flash Version: 

Headfull version of Chromium uses OS and Browser preferences to set the Accept-Language header. Since we can't do it in Headless version, can we set it from command line?
 
Labels: Needs-Triage-M66

Comment 2 by ajha@chromium.org, Feb 12 2018

Components: Internals>Headless
Status: WontFix (was: Unconfirmed)
You can use the --lang command line switch to select used language.

Sign in to add a comment