【发布时间】:2015-10-01 05:08:21
【问题描述】:
如何在 python (django) heroku 应用程序上关闭 SSL? SO这里没有答案。需要从其他网站做POST,只能用http来做
【问题讨论】:
-
发帖只能用http是什么意思?
-
跨域问题(需要在标题中引用)
如何在 python (django) heroku 应用程序上关闭 SSL? SO这里没有答案。需要从其他网站做POST,只能用http来做
【问题讨论】:
您不能关闭 SSL。默认开启https://blog.heroku.com/archives/2012/5/3/announcing_better_ssl_for_your_app
要向您遇到https://en.wikipedia.org/wiki/Same-origin_policy 的不同域/端口/协议执行 POST。
此 SO 答案详细说明了绕过同源策略的方法。 Ways to circumvent the same-origin policy
【讨论】: