Hi All,
I have an application in which there is a link which opens an httpunit document .I need to verify the contents of this document .
But when I click the same thru httpunit it gives me an error saying default content type is text/html .
The content type I want is application/word.
I tried to set the content type to application/msword using HttpUnitOptions.setDefaultContentType( "application/msword" );
But still it doesn’t work
Please tell me how do I make this work
Thanks in advance,
Sayali
Log in to post a comment.
Hi All,
I have an application in which there is a link which opens an httpunit document .I need to verify the contents of this document .
But when I click the same thru httpunit it gives me an error saying default content type is text/html .
The content type I want is application/word.
I tried to set the content type to application/msword using HttpUnitOptions.setDefaultContentType( "application/msword" );
But still it doesn’t work
Please tell me how do I make this work
Thanks in advance,
Sayali