commons-user mailing list archives

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

When using getResponseBodyAsString() for this URL:

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                      

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message