We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
具体场景是一个Ajax请求在 203 的情况下, Header上有location字段,这代表该接口被打重定向到这个地址,这个时候浏览器会有一些默认的操作:
然而问题是部分业务下location的页面会发生跨域的问题。
后来通过把ajax 请求切换为form 提交的方式去试用浏览器默认的跳转行为,来避开跨域的问题。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
HTTP 203 重定向发生的跨域问题
具体场景是一个Ajax请求在 203 的情况下, Header上有location字段,这代表该接口被打重定向到这个地址,这个时候浏览器会有一些默认的操作:
然而问题是部分业务下location的页面会发生跨域的问题。
后来通过把ajax 请求切换为form 提交的方式去试用浏览器默认的跳转行为,来避开跨域的问题。
The text was updated successfully, but these errors were encountered: