Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config: Add option for setting extra HTTP Headers #2746

Closed
pmeenan opened this issue Jul 26, 2017 · 3 comments
Closed

Config: Add option for setting extra HTTP Headers #2746

pmeenan opened this issue Jul 26, 2017 · 3 comments

Comments

@pmeenan
Copy link

pmeenan commented Jul 26, 2017

It is useful to provide custom HTTP headers for configuring server settings (some accelerator providers use it to turn features on or off), to provide BASIC Auth headers or in some cases to provide session cookies to bypass a login.

It would be helpful to be able to pass a config of headers to override and if present pass it through to Network.setExtraHTTPHeaders when the emulation configs are done.

@patrickhulce
Copy link
Collaborator

related #1418

@paulirish paulirish changed the title Provide config setting for extra HTTP Headers Config: Add option for setting extra HTTP Headers Sep 28, 2017
@kaycebasques
Copy link
Contributor

@paulirish
Copy link
Member

now fixed via #3732

Check out the docs for --extra-headers in the readme or lighthouse --help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants