The comment from one of my commits to a HttpClient utils class:

"Seriously, they default to US-ASCII on requests and ISO-8859-1 on responses? 
WTH man? Response should have a charset anyway, but explicitly setting UTF-8 
just in case."

It's better than URLConnection, yes. Just don't assume the defaults make any 
sense.

Ramsey

On Dec 21, 2012, at 4:27 PM, Mai Nguyen wrote:

> Actually HTTPClient from ApacheCommons looks much less daunting than 
> java.net.HttpURLConnection, so I will give it a try.
> 
> Thanks for the suggestions.
>> On Dec 21, 2012, at 2:22 PM, Chuck Hill wrote:
>> 
>>> It does not sound like you want a direct action.  I think you want 
>>> something more like java.net.HttpURLConnection or HTTPClient from the 
>>> Apache commons.
>>> 
>>> 
>>> Chuck
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
> 
> This email sent to [email protected]


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to