commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Uwe Seimet <Uwe.Sei...@seimet.de>
Subject [HttpClient] Exception: char set may not be null or empty
Date Sun, 15 Jan 2006 17:40:54 GMT
Hello!

When using getResponseBodyAsString() for this URL:

http://www.sathyasaibaba.hu

an IllegalArgumentException with reason "charset may not be null or
empty" is raised. I do not have any problem to read the same URL with a
browser or wget, and when looking at the HTML I do not see anything
wrong. Maybe something is wrong in the HTTP response headers? If this is
the case, is there any work-around, so that I can read the contents of
this webpage without an exception?

Best regards,   Uwe

-- 
-----------------------------------------------------------------------
  Dr. Uwe Seimet                                http://www.seimet.de/

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message