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

Cookies broken with ModernHttpClient #54

Closed
josephnarai opened this issue Sep 8, 2015 · 1 comment
Closed

Cookies broken with ModernHttpClient #54

josephnarai opened this issue Sep 8, 2015 · 1 comment

Comments

@josephnarai
Copy link

I've implemented a customisation to use ModernHttpClient as per https://github.com/tmenier/Flu...

However, we find that no Cookies are never retained ( the call to GetCookies() always returns an empty object ).

Is this a known issue? Can we get cookies to work somehow with ModernHttpClient?

Thanks

Joe

@josephnarai
Copy link
Author

Found the issue. ModernHttpClient does not support normal cookies, you have to make sure you do NOT enable Cookies and then read and write them from the headers.

https://github.com/paulcbetts/...
https://github.com/paulcbetts/...

So it's not a Flurl issue at all, but might be worth adding as a note somewhere to help other people wanting it use ModernHttpClient!

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

1 participant