*
* @throws Exception
*/
public void testWebExternalResourceRequestTarget() throws Exception
{
WebExternalResourceRequestTarget rt = new WebExternalResourceRequestTarget("/index.html");
WebRequestCycle cycle = tester.createRequestCycle();
cycle.setRequestTarget(rt);
tester.processRequestCycle(cycle);
assertTrue(tester.getContentTypeFromResponseHeader().startsWith("text/html"));
// WebExternalResourceRequestTarget does not set Content-Length