New issue
Advanced search Search tips

Issue 591180 link

Starred by 1 user

Issue metadata

Status: Archived
Owner: ----
Closed: Mar 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Getting host header from webRequest

Reported by yovel3...@gmail.com, Mar 1 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36

Steps to reproduce the problem:
i tried to get the "Host" header from a webRequest request, using onBeforeSendHeaders event.

What is the expected behavior?

What went wrong?
i got the requestHeaders object but there is no "host" entry there.
According to the webRequest API, it is not guarenteed to get the host in the requestHeaders.
is there another way to get the host with webRequest (not declerative) or to ensure i will have the host in the requestHeaders?

Did this work before? No 

Chrome version: 48.0.2564.116  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: Shockwave Flash 20.0 r0
 
HTTPHosts.js
216 bytes View Download
Components: -Blink Platform>Apps>API
Project Member

Comment 2 by sheriffbot@chromium.org, Mar 2 2017

Status: Archived (was: Unconfirmed)
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment