Re: Direct Action help?
Re: Direct Action help?
- Subject: Re: Direct Action help?
- From: Ramsey Gurley <email@hidden>
- Date: Fri, 21 Dec 2012 17:59:16 -0700
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@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden