问题
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?
回答1:
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.
来源:https://stackoverflow.com/questions/3758426/is-it-possible-to-see-what-the-response-headers-were-after-a-page-load-using-wat