“Failed to load response data“ django@xframe_options_exempt 网站不许 Firefox 显示被嵌入的网页-failedtoloadresponsedatadjangoxframeoptionsexempt网站不许firefox显示被嵌入的网页
title: >-
“Failed to load response data“ django@xframe_options_exempt 网站不许 Firefox
显示被嵌入的网页
url: >-
https://yayi.site/archives/failedtoloadresponsedatadjangoxframeoptionsexempt网站不许firefox显示被嵌入的网页
cover: >-
https://cdn.jsdelivr.net/gh/tangxingithub/picbed/img/20210311124333-The-executioner-and-her-way-of-life.jpg
abbrlink: eacc72e0
date: 2021-04-06 17:48:00
updated: 2021-05-14 22:00:57
categories:
tags:
# python django ajax
chrome 显示 failed to xxx 。以为ajax 数据量大。
设置ajax 的timeout 没有用
换firefox 网站不许 Firefox 显示被嵌入的网页 。哦。(firefox nb)
django 的官方 xframe_options_exempt 在view的视图方法上注解
ok.安全问题。
本文是原创文章,采用 CC BY-NC-ND 4.0 协议,完整转载请注明来自 程序员小航
评论
匿名评论
隐私政策
你无需删除空行,直接评论以获取最佳展示效果