Html 加载时遇到无效的“X-Frame-Options”标头

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/16145475/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-29 07:45:23  来源:igfitidea点击:

Invalid 'X-Frame-Options' header encountered when loading

htmlgoogle-maps

提问by frooty

How to resolve "Invalid 'X-Frame-Options' header encountered when loading "?!

如何解决“加载时遇到无效的‘X-Frame-Options’标头”?!

when i insert the google map in our html code then I am getting the error which is describe in attached image.

当我在我们的 html 代码中插入谷歌地图时,我收到了附加图像中描述的错误。

when i insert the google map  in our html code then I am getting the  error which is describe in attached image.

当我在我们的 html 代码中插入谷歌地图时,我收到了附加图像中描述的错误。

采纳答案by Quentin

You don't control Google's HTTP headers, so you can't (short of getting a job where you do control them) make them use valid options.

您无法控制 Google 的 HTTP 标头,因此您不能(无法获得控制它们的工作)让它们使用有效选项