| || |
Reading entire response header using httpunit
I was trying to use http unit to read response header for my application -
<font class="small">Code:</font><hr /><pre>
WebClient webClient = new WebClient();
HtmlPage currentPage = webClient
WebResponse response = currentPage.getWebResponse();
I do get to see the response headers but they are limited to only first http get request. When I used LiveHTTPHeaders plugin for firefox plugin I got to all the get requests and corresponding header responses.
Is there any way to get http header for all subsequent requests and not being limited to just first get?
Re: Reading entire response header using httpunit
I have decided to use captureNetworkTraffic of Selenium 1 to get through this.