Return-Path: Delivered-To: apmail-hc-httpclient-users-archive@www.apache.org Received: (qmail 36467 invoked from network); 26 Mar 2011 14:33:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Mar 2011 14:33:17 -0000 Received: (qmail 34867 invoked by uid 500); 26 Mar 2011 14:33:17 -0000 Delivered-To: apmail-hc-httpclient-users-archive@hc.apache.org Received: (qmail 34791 invoked by uid 500); 26 Mar 2011 14:33:16 -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 34783 invoked by uid 99); 26 Mar 2011 14:33:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Mar 2011 14:33:16 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aljesco@gmail.com designates 209.85.210.179 as permitted sender) Received: from [209.85.210.179] (HELO mail-iy0-f179.google.com) (209.85.210.179) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Mar 2011 14:33:08 +0000 Received: by iym7 with SMTP id 7so2025710iym.10 for ; Sat, 26 Mar 2011 07:32:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=y9PpT01zJwAfj5fSk7IDZ838Q4oaWhlYxIQlyheO0Gk=; b=meY6I8MSyM3sb50dBa9wnp8/WTjfTk6cgS0kSAgLUliJuxQHLmS4DG48Fycuh8jLBf txnRmmz2bJ1Df17QVtLGLYmdT8wJoVOHjgb2iCnnd8fAoLsdmxbdBtv+kFdmhAg7J/AK iY6k9UVHESBGlVZBU77sJwiXlxdrWgs2Fnehw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=KcNEuH0vv50kzFrH5KdLqRwB8oI1Lf00Km5riLg3I5kNAZc7Ag9fQOV7mXetuAFTKj 5yqb8rrMv7C7GK3CV7Zol1jR8ipvaPEATJp9EGRoAX0UL7okpUTLNFkfZ6tr/rQtzzVJ fRFU6fVk7kZ5ZM2IJJE6aMj27YWCwtE/zZJxI= MIME-Version: 1.0 Received: by 10.42.246.72 with SMTP id lx8mr3241845icb.276.1301149815740; Sat, 26 Mar 2011 07:30:15 -0700 (PDT) Received: by 10.42.177.67 with HTTP; Sat, 26 Mar 2011 07:30:15 -0700 (PDT) Date: Sat, 26 Mar 2011 16:30:15 +0200 Message-ID: Subject: HttpClient & Cookie2 From: aljesco To: httpclient-users@hc.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hello, Is there any way to get rid of "Cookie2: $Version=1" parameter in request executing? e.g., when I'm running next code, CookieStore cookieStore = new BasicCookieStore(); HttpContext localContext = new BasicHttpContext(); localContext.setAttribute(ClientContext.COOKIE_STORE, cookieStore); HttpGet httpget = new HttpGet("http://www.google.com/"); HttpResponse response = httpclient.execute(httpget, localContext); HttpEntity entity = response.getEntity(); EntityUtils.consume(entity); httpclient.execute(httpget, localContext); at first responce server sets only Set-Cookie:xxxxxxxx but httpClient sends both headers, cookie and cookie2: Cookie: xxxxxxxx Cookie2: $Version=1 Any ideas? Thanks --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org For additional commands, e-mail: httpclient-users-help@hc.apache.org