Hi, Is there a way so set a default cookie policy in HTTPClient. I tried CookiePolicy.setDefaultPolicy(CookiePolicy.COMPATIBILITY) but it didn't work. (This is deprecated, also it does not work). What I need to is get rid of the following messages (I cannot change this property on a per request basis on the httpMethod itself). I know that httpmethod.getParams.setCookiePolicy works (I want to do it system wide by setting the property once) . Is there a workaround? I had a look at http://jakarta.apache.org/commons/httpclient/cookies.html too.
WARN [2007-08-02 08:19:38,513] Cookie rejected: "$Version=0; cookie_l10n=en-us %3Bus; $Path=/; $Domain=flickr.com". Domain attribute " flickr.com" violates RFC 2109: domain must start with a dot WARN [2007-08-02 08:19:38,515] Cookie rejected: "$Version=0; cookie_intl=delet ed; $Path=/; $Domain=flickr.com ". Domain attribute "flickr.com" violates RFC 210 9: domain must start with a dot Thanks, Keith -- Keith Chapman WSO2 Inc. Oxygen for Web Services Developers. http://wso2.org/
