spacing on lists | Re: I-D Action: draft-ietf-httpbis-rfc6265bis-00.txt

Kari hurtta <hurtta-ietf@elmme-mailer.org> Wed, 12 October 2016 08:46 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8C948129707 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 12 Oct 2016 01:46:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.917
X-Spam-Level:
X-Spam-Status: No, score=-9.917 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-2.996, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kjMO0bTfbCUq for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 12 Oct 2016 01:46:29 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 24CD012949E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 12 Oct 2016 01:46:28 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1buF7I-0008H6-UT for ietf-http-wg-dist@listhub.w3.org; Wed, 12 Oct 2016 08:42:24 +0000
Resent-Date: Wed, 12 Oct 2016 08:42:24 +0000
Resent-Message-Id: <E1buF7I-0008H6-UT@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <khurtta@welho.com>) id 1buF7C-0008GH-Ck for ietf-http-wg@listhub.w3.org; Wed, 12 Oct 2016 08:42:18 +0000
Received: from welho-filter3.welho.com ([83.102.41.25]) by maggie.w3.org with esmtp (Exim 4.80) (envelope-from <khurtta@welho.com>) id 1buF79-00054v-SD for ietf-http-wg@w3.org; Wed, 12 Oct 2016 08:42:17 +0000
Received: from localhost (localhost [127.0.0.1]) by welho-filter3.welho.com (Postfix) with ESMTP id CE8301304A; Wed, 12 Oct 2016 11:41:47 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp2.welho.com ([IPv6:::ffff:83.102.41.85]) by localhost (welho-filter3.welho.com [::ffff:83.102.41.25]) (amavisd-new, port 10024) with ESMTP id 0GtWBHn3ASjN; Wed, 12 Oct 2016 11:41:47 +0300 (EEST)
Received: from hurtta09lk.keh.iki.fi (89-27-35-245.bb.dnainternet.fi [89.27.35.245]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp2.welho.com (Postfix) with ESMTPS id 09A3827B; Wed, 12 Oct 2016 11:41:47 +0300 (EEST)
In-Reply-To: <CAKXHy=f=tNi5mft02y_rhg9tbP8J5wDLSR1=MmJeys+7tUWC0A@mail.gmail.com>
References: <147614675047.31404.6416168532325888959.idtracker@ietfa.amsl.com> <20161011035143.EF7DF13664@welho-filter2.welho.com> <42B9174B-2A49-4E21-B607-E60D05952561@mnot.net> <CAKXHy=f=tNi5mft02y_rhg9tbP8J5wDLSR1=MmJeys+7tUWC0A@mail.gmail.com>
To: Mike West <mkwst@google.com>
Date: Wed, 12 Oct 2016 11:41:46 +0300
Sender: hurtta@hurtta09lk.keh.iki.fi
From: Kari hurtta <hurtta-ietf@elmme-mailer.org>
CC: Kari hurtta <hurtta-ietf@elmme-mailer.org>, HTTP working group mailing list <ietf-http-wg@w3.org>
X-Mailer: ELM [version ME+ 2.5 PLalpha42]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain
Content-Disposition: inline
Content-Description:
Message-Id: <20161012084147.CE8301304A@welho-filter3.welho.com>
Received-SPF: none client-ip=83.102.41.25; envelope-from=khurtta@welho.com; helo=welho-filter3.welho.com
X-W3C-Hub-Spam-Status: No, score=-5.6
X-W3C-Hub-Spam-Report: AWL=-1.333, BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.336, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: maggie.w3.org 1buF79-00054v-SD 246283ea747986e1272a7cb66b76fc31
X-Original-To: ietf-http-wg@w3.org
Subject: spacing on lists | Re: I-D Action: draft-ietf-httpbis-rfc6265bis-00.txt
Archived-At: <http://www.w3.org/mid/20161012084147.CE8301304A@welho-filter3.welho.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/32562
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

> I'm sure we'll find more formatting issues over the next week or so that
> arose from the port from the flat text file to Markdown, so I'll hold off
> on publishing a -01 draft until those shake out.

Small note about spacing on lists.

5.2.  The Set-Cookie Header
https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-00#section-5.2

|   1.  If the set-cookie-string contains a %x3B (";") character:
|
|       1.  The name-value-pair string consists of the characters up to,
|           but not including, the first %x3B (";"), and the unparsed-
|           attributes consist of the remainder of the set-cookie-string
|           (including the %x3B (";") in question).
|
|       Otherwise:
|
|       1.  The name-value-pair string consists of all the characters
|           contained in the set-cookie-string, and the unparsed-
|           attributes is the empty string.
|   2.  If the name-value-pair string lacks a %x3D ("=") character,
|       ignore the set-cookie-string entirely.

Formatting:

Because there is empty line on beginning of sublist, this
may be more readable, if there is also empty line on end of
sublist.

( Somewhat numbered sublists, where is only one item, are odd. )


Here also (on first it is not sublist, but "Let the cookie-av string 
be the characters consumed in this step." does not visually go
togetger with "3." tiem).

|   3.  If the remaining unparsed-attributes contains a %x3B (";")
|       character:
|
|       1.  Consume the characters of the unparsed-attributes up to, but
|           not including, the first %x3B (";") character.
|
|       Otherwise:
|
|       1.  Consume the remainder of the unparsed-attributes.
|
|       Let the cookie-av string be the characters consumed in this step.
|   4.  If the cookie-av string contains a %x3D ("=") character:
|
|       1.  The (possibly empty) attribute-name string consists of the
|           characters up to, but not including, the first %x3D ("=")
|           character, and the (possibly empty) attribute-value string
|           consists of the characters after the first %x3D ("=")
|           character.
|
|       Otherwise:
|
|       1.  The attribute-name string consists of the entire cookie-av
|           string, and the attribute-value string is empty.
|   5.  Remove any leading or trailing WSP characters from the attribute-
|       name string and the attribute-value string.


5.2.3.  The Domain Attribute
https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-00#section-5.2.3

|   2.  If the first character of the attribute-value string is %x2E
|       ("."):
|
|       1.  Let cookie-domain be the attribute-value without the leading
|           %x2E (".") character.
|
|       Otherwise:
|
|       1.  Let cookie-domain be the entire attribute-value.
|   3.  Convert the cookie-domain to lower case.

In other words if there is empy lines inside of item, there should be
also on end of item. Otherwise grouping look strange. Perhaps this is
idiosyncrasy of tools?

Perhaps there should be empty line between all list items if there
is at least one empty line inside of some list item?

5.2.4.  The Path Attribute
https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-00#section-5.2.3

|   1.  If the attribute-value is empty or if the first character of the
|       attribute-value is not %x2F ("/"):
|
|       1.  Let cookie-path be the default-path.
|
|       Otherwise:
|
|       1.  Let cookie-path be the attribute-value.
|   2.  Append an attribute to the cookie-attribute-list with an
|       attribute-name of Path and an attribute-value of cookie-path.

https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-00#section-5.3
5.3.  Storage Model

|        1.  Set the cookie's persistent-flag to false.
|        2.  Set the cookie's expiry-time to the latest representable
|            date.
|   4.   If the cookie-attribute-list contains an attribute with an
|        attribute-name iof "Domain":

and

|        1.  Let the domain-attribute be the empty string.
|   5.   If the user agent is configured to reject "public suffixes" and
|        the domain-attribute is a public suffix:

and


|        NOTE: A "public suffix" is a domain that is controlled by a
|        public registry, such as "com", "co.uk", and "pvt.k12.wy.us".
|        This step is essential for preventing attacker.com from
|        disrupting the integrity of example.com by setting a cookie with
|        a Domain attribute of "com".  Unfortunately, the set of public
|        suffixes (also known as "registry controlled domains") changes
|        over time.  If feasible, user agents SHOULD use an up-to-date
|        public suffix list, such as the one maintained by the Mozilla
|        project at http://publicsuffix.org/ .
|   6.   If the domain-attribute is non-empty:

and

|        1.  Set the cookie's host-only-flag to true.
|        2.  Set the cookie's domain to the canonicalized request-host.
|   7.   If the cookie-attribute-list contains an attribute with an


and so on