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

Cookie ? #494

Open
RoyBellingan opened this issue Oct 4, 2021 · 3 comments
Open

Cookie ? #494

RoyBellingan opened this issue Oct 4, 2021 · 3 comments

Comments

@RoyBellingan
Copy link

I think there has been a problem merging #309 and was then forget to add an out of the box support to cookie.

@Jahrenski
Copy link

There is no direct cookie support in this implementation. But you still have access to the cookies in the header.
session->get_request()->get_header("Cookie")

You then obtain a string containing the serialized key/value pairs

@RoyBellingan
Copy link
Author

Hi @Jahrenski thank you for the information, I was already using this method to access it, would you accept a merge request if I provide a (hopefully) compliant cookie parser function method that will return a std::mapstd::string,std::string ?
I will try to mimic how other function already behave

@Jahrenski
Copy link

That would be up to Corvusoft to decide, I'm but a user. Good luck.

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

No branches or pull requests

2 participants