Re: how to get same response text as original file.
Russell Gold <[email protected]>
| Newsgroups | gmane.comp.web.httpunit.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mar 16, 2006, at 1:30 AM, Mithun Ruikar wrote: > Hello , > I am using httpUnit to navigate to some url and save source of > html file obtained as response. > But this response text has been reordered by httpUnit. ie. some > tags are reordered and > some attribute values are changed eq. in input tag style="width: > 150;" is changed to > width="150". > I read about httpUnit that it uses nekoHtml parser to parse html > document. > This nekoHTML supports some features to handle such things. > > Please tell how can i change settings of httpUnit to get exact > response. > Or if not possible please tell me any other API to get this. response.getText() returns the original text, without any parsing.