Return-Path: Delivered-To: apmail-hc-httpclient-users-archive@www.apache.org Received: (qmail 87354 invoked from network); 5 Oct 2009 22:56:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Oct 2009 22:56:20 -0000 Received: (qmail 51739 invoked by uid 500); 5 Oct 2009 22:56:20 -0000 Delivered-To: apmail-hc-httpclient-users-archive@hc.apache.org Received: (qmail 51715 invoked by uid 500); 5 Oct 2009 22:56:20 -0000 Mailing-List: contact httpclient-users-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-users@hc.apache.org Received: (qmail 51705 invoked by uid 99); 5 Oct 2009 22:56:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2009 22:56:20 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sebbaz@gmail.com designates 209.85.219.205 as permitted sender) Received: from [209.85.219.205] (HELO mail-ew0-f205.google.com) (209.85.219.205) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2009 22:56:09 +0000 Received: by ewy1 with SMTP id 1so3010140ewy.10 for ; Mon, 05 Oct 2009 15:54:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=HKX8My2gRuZbMNhp8HNg0ZEmAfLMD0OHqJI+WRjYyi4=; b=da30kuGPE5dr1piUuXs+o64s4SIPSrHLaSAMO8I5fHh8LghRRiLPsQQMKGD+kLWBuG suQLRuD3Q6CwECt6TZWdvz0cjI6VnmLBC6iqjeVV8g92BzNP1A4V5N8+1Xs2GQ6tmVeW ZbqTA7M7wM4SgBCkvR0PzADqUoeC1XdpXDqMs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=WNk2V6KuloBUx5Teuiy799yP8PDjBxlzr4gwQp9ryeg8rJWr2wfjEqMl2iD8n8i1dY 5Au+1R6yRA3/RfBgPSosZs6JQEgV0oL9S/ZrL4hXSqwkFpUqSKlW8mzVwWseQoPoZdDb 048elhavq+YvRdaMmMO8+jkH2bNbHm0UyMLHs= MIME-Version: 1.0 Received: by 10.216.13.211 with SMTP id b61mr143678web.91.1254783288262; Mon, 05 Oct 2009 15:54:48 -0700 (PDT) In-Reply-To: References: <4854C9AB-524A-4CBE-88EC-A2882A3F3DC2@douglasferguson.us> <25aac9fc0910050221oa56965cudad8f6fee9605961@mail.gmail.com> <97C2C2CC-5F15-40CB-BF33-115EC97E47E6@douglasferguson.us> <25aac9fc0910051245q66a711ffp2bb6a4e2d92e73c1@mail.gmail.com> Date: Mon, 5 Oct 2009 23:54:48 +0100 Message-ID: <25aac9fc0910051554s36f00c2fg3f56ef35d0be8f32@mail.gmail.com> Subject: Re: Cookie rejected From: sebb To: HttpClient User Discussion Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org So - try using a different policy. See: http://hc.apache.org/httpclient-3.x/cookies.html On 05/10/2009, Douglas Ferguson wrote: > I guess I'm using the default. > > I just generating a GetMethod and then running execute. > > > D/ > > > On Oct 5, 2009, at 2:45 PM, sebb wrote: > > > On 05/10/2009, Douglas Ferguson wrote: > >> Hmm.. > >> > >> Maybe I should be more explicit. > >> > >> Here's the warning: > >> > >>> Oct 05 09:13:47 WARN [pool-2-thread-16] httpclient.HttpMethodBase - > >>> Cookie rejected: "$Version=0; > >>> _twitter_sess > >>> =BAh7CjoRdHJhbnNfcHJvbXB0MDoOcmV0dXJuX3RvIh5odHRwOi8vdHdpdHRl > >>> %250Aci5jb20vamJuaW5kOgxjc3JmX2lkIiUxNmI1MDIwZjk5ZDY4NDg3OWZhZTIz > >>> %250AMWY2M2I2ZWQxMjoHaWQiJTQ4YmM1NmU2Nzc1ZWYwZWY1ZDVkMGFhMGMxYjQw > >>> %250AMjI2IgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVyOjpGbGFzaDo6Rmxhc2hI > >>> %250AYXNoewAGOgpAdXNlZHsA--2cf7d8d6a5a619808fe1676a801b0ecfc8cc2aec; > >>> $Path=/; $Domain=.twitter.com". Illegal domain attribute > >>> ".twitter.com". Domain of origin: "twitter.com" > >> > >> > >> I doubt I'll get twitter to change there page. :) > >> > >> How would I write a policy that dealt with this? > > > > What policy are you currently using? > > Have you tried all the other policies that are provided? > > > >> > >> D/ > >> > >> > >> > >> On Oct 5, 2009, at 4:21 AM, sebb wrote: > >> > >>> On 05/10/2009, Douglas Ferguson wrote: > >>>> I"m using HttpClient from apache commons > >>>> > >>>> I get of bunch of these warnings in my logs. > >>>> > >>>> I could set HttpmethodBase to INFO but I'd be worried that I'd > >>>> loose > >>>> some useful information. > >>>> Is there something else I could do to avoid these messages? > >>>> > >>>> Oct 04 20:49:22 WARN [pool-2-thread-5] httpclient.HttpMethodBase - > >>>> Cookie rejected: " > >>> > >>> FInd out why the cookie is being rejected, and either fix the cookie > >>> to be compliant, or configure HttpClient to use a cookie policy that > >>> allows the cookie. > >>> > >>>> > >>>> > >>>> > >>>> --------------------------------------------------------------------- > >>>> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org > >>>> For additional commands, e-mail: httpclient-users- > >>>> help@hc.apache.org > >>>> > >>>> > >>> > >>> --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org > >>> For additional commands, e-mail: httpclient-users-help@hc.apache.org > >>> > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org > >> For additional commands, e-mail: httpclient-users-help@hc.apache.org > >> > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org > > For additional commands, e-mail: httpclient-users-help@hc.apache.org > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org > For additional commands, e-mail: httpclient-users-help@hc.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org For additional commands, e-mail: httpclient-users-help@hc.apache.org