Return-Path: X-Original-To: apmail-hc-httpclient-users-archive@www.apache.org Delivered-To: apmail-hc-httpclient-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0E17F1894D for ; Wed, 16 Dec 2015 20:38:38 +0000 (UTC) Received: (qmail 93659 invoked by uid 500); 16 Dec 2015 20:38:37 -0000 Delivered-To: apmail-hc-httpclient-users-archive@hc.apache.org Received: (qmail 93611 invoked by uid 500); 16 Dec 2015 20:38:37 -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 93598 invoked by uid 99); 16 Dec 2015 20:38:37 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Dec 2015 20:38:37 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id DDECAC5B11 for ; Wed, 16 Dec 2015 20:38:36 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.9 X-Spam-Level: ** X-Spam-Status: No, score=2.9 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id P7MJqoiI0yH2 for ; Wed, 16 Dec 2015 20:38:23 +0000 (UTC) Received: from mail-ig0-f178.google.com (mail-ig0-f178.google.com [209.85.213.178]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 3222C2059C for ; Wed, 16 Dec 2015 20:38:22 +0000 (UTC) Received: by mail-ig0-f178.google.com with SMTP id to4so82967062igc.0 for ; Wed, 16 Dec 2015 12:38:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=qILM2fFIcoAVfQ4YAcgzLAGriXVWYKFkBOViq/6IQCg=; b=ZjBuxBwdpg5fPIlK/W8Nb6hOkhYt6Z8yPFd/klSplEVbi1OQk61I0PFcBgG+DNGTfq 4tQY7J6OzdNZ9oRYgQboNal8IW0iiNoZ8KnMgzagwj2U1uFYRWintTM2EdAyXuLRMzWA vUqrDz9WEfDvWxJLiYjf3lKBpbYxRJU0BPIJDhVzgDZlGFpWhGPLiuzDljqlyFgMjK2X 4EuVCsyLX09idRLq+xHztQg7Vj/NwAuSe6GKGtK5pyK4q8bSO0JlhwDXr2WjBDefPDdh QLf1dmERplE2j7ms/WIhytMNwK9FliE6ANOR4ULw3/7yzA4xdxzYJ24uBvbWLE4Wxq6Z 3JjQ== MIME-Version: 1.0 X-Received: by 10.50.79.234 with SMTP id m10mr11636463igx.57.1450298301160; Wed, 16 Dec 2015 12:38:21 -0800 (PST) Received: by 10.107.51.5 with HTTP; Wed, 16 Dec 2015 12:38:21 -0800 (PST) In-Reply-To: <1450298052.21584.1.camel@apache.org> References: <1450298052.21584.1.camel@apache.org> Date: Wed, 16 Dec 2015 21:38:21 +0100 Message-ID: Subject: Re: Domain value returns by getDomain() From: Philippe Mouawad To: "dev@jmeter.apache.org" Cc: HttpClient User Discussion Content-Type: multipart/alternative; boundary=089e0122a59c0f2265052709e32c --089e0122a59c0f2265052709e32c Content-Type: text/plain; charset=UTF-8 Thanks ! On Wed, Dec 16, 2015 at 9:34 PM, Oleg Kalnichevski wrote: > On Tue, 2015-12-15 at 21:40 +0100, Philippe Mouawad wrote: > > Hello, > > I would like to know if it's a bug or regular. > > > > In the below Test case, we have a cookie which domain attribute is > "domain=. > > bt.com" > > But the built cookie by HttpClient return "bt.com" , it's explicitely in > > the code of BasicDomainHandler#domainMatch. > > > > I suppose it's voluntary right ? > > > > Please see > > http://tools.ietf.org/html/rfc6265#section-5.2.3 > > Oleg > > -- Cordialement. Philippe Mouawad. --089e0122a59c0f2265052709e32c--