From: Mike B. <mb...@Ga...> - 2003-10-14 17:10:15
|
Raj Wagle wrote: > If a page is sent without the "Content-Type" response header, but is specified as follows: > <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-5"> > > seems either htmlunit or httpclient is unable to handle it correctly. > > The page gets returned as "UnexpectedPage". > Any thoughts? I thought that commons-httpclient would take care of this automatically - I remember discussions about this on their mailing list a while ago. To work around this, you could register a custom PageCreator with the WebClient. Please open a bug report for this. -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |