[Httpunit-develop] HTMLException
Brought to you by:
russgold
From: <mal...@ya...> - 2002-10-29 21:40:18
|
Any ideas why this error should be generated. How can I control the response that is expected to be text/html? Why isn't the browser giving me this error? Thanks. Error: The content type of the response is 'text/plain': it must be 'text/html' in order to be recognized as HTML com.meterware.httpunit.NotHTMLException: The content type of the response is 'text/plain': it must be 'text/html' in order to be recognized as HTML at com.meterware.httpunit.WebResponse.getReceivedPage(WebResponse.java:1007) at com.meterware.httpunit.WebResponse.getImages(WebResponse.java:388) at appian.awf.qa.TestAllRecoImages.testSimulationRecoImages(Unknown Source) at org.apache.cactus.AbstractTestCase.runServerTest(AbstractTestCase.java:332) Post your ad on Yahoo! India Autos.Check out the used Maruti, Fiat and Ford models on sale now. |