-
-
Notifications
You must be signed in to change notification settings - Fork 116
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
Response redirect 302 #14
Comments
这个WebView自己的机制,遇到302,重新进入decidePolicyForNavigationAction方法,decidePolicyForNavigationResponse 只会接收重定向后的 index |
@karosLi 是的,不过有的服务是在302响应的同时,下发cookie。暂不关心跳转之后(index)的response,302对应的response我们还是没办法处理的。 |
嗯,这种目前还处理不了,最好还是让index response的cookie包含302 response 的cookie |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
当服务返回302重定向后,WKWebView 并不能拦截到响应,所以此时下发的cookie是没办法干预的。
不知道这里是否有优化的空间?
The text was updated successfully, but these errors were encountered: