Skip to content

feat: added field withCredentials to xhr#3128

Open
Artem5725 wants to merge 1 commit into
niklasvh:masterfrom
Artem5725:master
Open

feat: added field withCredentials to xhr#3128
Artem5725 wants to merge 1 commit into
niklasvh:masterfrom
Artem5725:master

Conversation

@Artem5725
Copy link
Copy Markdown

Summary
This pr adds field withCredentials to the options.
Usage example
await html2canvas(document.body, { ... withCredentials: true, ... });
Motivation
Field must be set to true in case the proxy needs to receive and check cookies

@bastiengrignon
Copy link
Copy Markdown

Do you think this PR will be merged one day ?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants