【发布时间】:2014-08-15 13:36:17
【问题描述】:
我想在另一台服务器的 iframe 中运行我服务器上的 IPython 笔记本。 我收到此错误:
Refused to display 'my_url/Test.ipynb' in a frame because
it set 'X-Frame-Options' to 'SAMEORIGIN'
这里说我应该为此设置一些 x-frame-header 选项: http://ipython.org/ipython-doc/dev/whatsnew/development.html#iframe-embedding
在哪里可以设置?如何更改此 X-Frame-Option 以便可以从其他站点嵌入? :)
【问题讨论】:
标签: iframe ipython ipython-notebook