Skip to content
New issue

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

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

Already on GitHub? # to your account

Append custom headers to all requests #8165

Closed
TUNER88 opened this issue Aug 3, 2020 · 1 comment
Closed

Append custom headers to all requests #8165

TUNER88 opened this issue Aug 3, 2020 · 1 comment

Comments

@TUNER88
Copy link

TUNER88 commented Aug 3, 2020

Current behavior:

Right now I can add custom headers only to the main cy.visit() requests and subsequent XHR requests.

Desired behavior:

I would like to add custom headers to all subsequent requests like images and other assets

Versions

Cypress 4.11.0, any browser and any OS

Is there anyway how I can override the default behaviour?

@cypress-bot cypress-bot bot added the stage: proposal 💡 No work has been done of this issue label Aug 18, 2020
@jennifer-shehane jennifer-shehane added topic: network stage: proposal 💡 No work has been done of this issue and removed stage: proposal 💡 No work has been done of this issue labels Aug 18, 2020
@jennifer-shehane
Copy link
Member

jennifer-shehane commented Aug 18, 2020

This will be part of the work in #687 which is currently in progress. Closing as duplicate of #687

@jennifer-shehane jennifer-shehane removed the stage: proposal 💡 No work has been done of this issue label Aug 18, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants