hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "keith chapman" <keithgchap...@gmail.com>
Subject Setting default cookie policy
Date Wed, 29 Aug 2007 09:46:44 GMT
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). Is there a workaround?

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/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message