是否可以使用 Watin 查看页面加载后的响应标头是什么

发布于 2024-09-24 10:25:30 字数 80 浏览 0 评论 0原文

我们测试的一部分是检查页面是否以正确的格式返回(特别是 gzip)。

WATIN 是否公开 HTTP 响应标头以便可以检查它们?

Part of our testing is to check that a page is being returned in the correct format (specifically gzip)

Does WATIN expose the HTTP response headers so they can be inspected?

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

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

发布评论

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

评论(1

很酷不放纵 2024-10-01 10:25:31

不,WatiN 不会公开 HTTP 响应标头,Internet Explorer 也不会。不可能使用 InternetExplorer 界面或其任何事件来获取它们。

No, WatiN doesn't expose the HTTP response headers neither Internet Explorer. It's not possible to get them using InternetExplorer interface or any of it's events.

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