Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的图像处理程序在 HTTP 上工作正常。但是使用 https 访问时的同一页面没有显示图像。检查浏览器控制台是否有错误时,它会显示“ERR_INSECURE_RESPONSE”。
当您尝试将内容从 http 站点加载到 https 站点时,通常会发生这种情况。这会导致混合内容错误。
在 http 页面上,您可以从 http 或 https 加载内容,但是当您在 https 站点上时,您只能从 https 站点加载图像或 iframe 等内容。
在这种情况下,我假设发送请求的站点位于 https 上,但您的 ashx 页面位于 http 站点上。