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

When redirect with 302, WKCookieWebView not save cookies. #1

Open
marcoserafini2 opened this issue Apr 4, 2018 · 6 comments
Open

Comments

@marcoserafini2
Copy link

I sent request to 1stURL, 1stURL will redirect to 2ndURL with "Set Cookie" in response header, but the cookie is not set.
With httpCookieStore for WKWebsiteDataStore in iOS 11 can I retrieve the cookie, but with a previous version of ios?

@Kofktu
Copy link
Owner

Kofktu commented Apr 5, 2018

@marcoserafini2
Can you tell me which url you can test?

@marcoserafini2
Copy link
Author

@Kofktu No I can not, because it's a private network, but you can test it with any redirects that set cookies

@Kofktu
Copy link
Owner

Kofktu commented Apr 11, 2018

@marcoserafini2
To check an issue, you need a URL with the same error.
Please let me know if there are any URLs that have the same symptoms in your public URLs.

@KittenYang
Copy link

Hey guys @marcoserafini2 @Kofktu , I met the same problem as you, it seems that can't get the redirects url's cookies in decidePolicyFor navigationResponse delegate method, did you fix it? Look forward to your reply.

@marcoserafini2
Copy link
Author

@KittenYang take a look at this article

@Kofktu
Copy link
Owner

Kofktu commented Sep 14, 2018

@KittenYang
Version 1.0.2 released. Would you like to test it?

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

3 participants