Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

[REVIEW ONLY] Enable Cookies #464

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jasonsanjose
Copy link
Member

@@ -35,6 +35,16 @@ ClientHandler::ClientHandler()
callbackId = 0;
CreateProcessMessageDelegates(process_message_delegates_);
CreateRequestDelegates(request_delegates_);

// Default schemes that support cookies.
cookieable_schemes_.push_back("http");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there any reason to store this information in a member var? seems like we just need to create the array, add the schemes we want cef to store cookies for and call CefCookieManager::SetSupportedSchemes and we're done. Or does the CefCookieManager not make a copy of the schemes in the array for some reason?

@utkarshut
Copy link

I am trying to get cookies from server in client app that is running on bracket but cookie only comes in response header (set-cookie). How to set it to browser cookie ??

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

Successfully merging this pull request may close these issues.

3 participants