I tried to use the http module to read the response header for my application -
WebClient webClient = new WebClient(); WebClient.setThrowExceptionOnScriptError(false); HtmlPage currentPage = webClient.getPage("http://myapp.com"); WebResponse response = currentPage.getWebResponse(); System.out.println(response.getResponseHeaders());
I see response headers, but they are limited only by the first HTTP get request. When I used the LiveHTTPHeaders plugin for the firefox plugin, I received all the receive requests and the corresponding header responses.
Is there a way to get an HTTP header for all subsequent requests and not be limited to just the first?
Tarun source share