WKCookieWebView
WKCookieWebView copied to clipboard
When redirect with 302, WKCookieWebView not save cookies.
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?
@marcoserafini2 Can you tell me which url you can test?
@Kofktu No I can not, because it's a private network, but you can test it with any redirects that set cookies
@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.
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.
@KittenYang take a look at this article
@KittenYang Version 1.0.2 released. Would you like to test it?