keith chapman wrote:
> Yes it can be done using httpMethod.getParams (This neeeds to be dont
> everytimr I send a request). But I want to set this once (system wide), not
> for each and every invocation.

I suggested that you set the parameter on the _client_,
not on the _method_. You need to set the parameter on the
client only once, it will apply to all methods that do
not override the value.
Based on the additional information you posted to the
developer list, I assume you don't have access to the
client either. Have a look at DefaultHttpParamsFactory
and DefaultHttpParams.setHttpParamsFactory.

cheers,
  Roland

> On 8/29/07, Roland Weber <[EMAIL PROTECTED]> wrote:
>> Hello Keith,
>>
>> set the cookie policy ID in the client parameters:
>>
>> http://jakarta.apache.org/httpcomponents/httpclient-3.x/apidocs/org/apache/commons/httpclient/params/HttpMethodParams.html#COOKIE_POLICY
>>
>> You'll have to use CookiePolicy.BROWSER_COMPATIBILITY or
>> the new RFC_2965 to handle domains without the dot prefix.
>> RFC 2109 explicitly disallowed those, and that is the
>> default cookie policy.
>>
>> hope that helps,
>>   Roland
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to