Firebug - 如何查看“附件”的请求/响应标头或触发打开/保存对话框的其他响应?

发布于 2024-12-22 06:38:24 字数 471 浏览 6 评论 0原文

环境

  1. 安装了 Firebug 和 Jsonview 插件并经过验证可以正常工作的 Firefox,
  2. 一个声称以“application/json”作为 mime 类型发送响应的 Web 服务;服务 URL 以“.json”结尾。

问题:Firefox 弹出打开/保存对话框,而不是让 Jsonview 显示内容。

问题:如何在 Firebug 中查看附件或其他会触发打开/保存对话框的响应的响应标头/内容?

相关问题:是否可以在 Firebug 中查看针对弹出窗口的响应的标头/内容?

如果可能的话,希望避免安装其他插件或网络监视器。非常感谢任何帮助。

Environment:

  1. Firefox with Firebug and Jsonview addons installed and verified to work,
  2. A web service that claims to send the response with "application/json" as the mime type; the service URL does NOT end in ".json".

Problem: Firefox puts up the open/save dialog instead of letting Jsonview to display the content.

Question: How do I see the response headers/content in Firebug for attachments or other responses that otherwise trigger an open/save dialog?

Related question: Is it possible to see headers/content in Firebug for responses that are targeted for popup windows?

Would like to avoid installing other plugins or network monitors if at all possible. Any help is greatly appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

顾冷 2024-12-29 06:38:24

我注意到,当您希望 Firebug 显示带有 Content-Disposition:attachment 的请求时,Firebug 需要“刷新”:

尝试切换到另一个未激活 Firebug 的 Firefox 选项卡,然后切换回当前选项卡。 Firebug 将刷新并在其网络面板中显示以前不可见的请求。

编辑

现在是已知问题7264

I've noticed that Firebug needs to be "refreshed" when you want it to display a request with Content-Disposition: attachment:

Try to switch to another Firefox tab, where Firebug is not activated, and then switch back to your current tab. Firebug will get refreshed and show also previously invisible request in its Net panel.

EDIT

Now it's known issue 7264

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文