http - 如何停止http重定向到https
问题描述
我正在设置一个不支持 https 的测试环境。问题是,http://localhost/simulator.aspx#!/data
不断重定向到https://localhost/simulator.aspx#!/data
. 我尝试了以下步骤:
- 去
chrome://net-internals/#hsts
和删除localhost
和127.0.0.1
- 空缓存和硬重新加载(https://galaxyinternet.us/google-chrome-redirects-localhost-to-https-fix/)
- 删除缓存的图像和文件
chrome://settings/clearBrowserData
- 核弹
C:/Users/Appdata/local/Google/Chrome
- 检查
disable cache
Chrome 开发人员工具> 网络选项卡。 - 去任务管理器并杀死Chrome进程以重新启动。
解决方案
推荐阅读
- mvvm - Xamarin.Forms:如何从 ViewModel 访问 WebView 的“重新加载”方法
- uwp - 是否可以将禁用按钮的颜色更改为与背景堆栈面板相同的颜色?
- haskell - 根据元组的总和在 Haskell 中查找最大对
- python - 使用另一个列表作为迭代器将值插入列表中的列
- node.js - 查找嵌套文档并相应地更新它
- c# - Websocket net::ERR_SSL_OBSOLETE_VERSION Chrome 中的错误
- mysql - 有没有办法知道在 sql 中实际扫描了多少行?我不是说使用解释
- android - 如何在android应用程序上接受多个登录?(不同的 Web 视图)
- java - 在java中生成具有不同数字的随机数
- c++ - 为什么变量在堆栈上的地址不是连续的