Re: [netmod] WG Last Call: draft-ietf-netmod-artwork-folding-02

Kent Watsen <kent@watsen.net> Mon, 27 May 2019 17:57 UTC

Return-Path: <0100016afa70796c-314cbf69-755f-4ae2-b83a-d53507714c69-000000@amazonses.watsen.net>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B1DE1120043; Mon, 27 May 2019 10:57:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=amazonses.com
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 bEwL4GXb7Jed; Mon, 27 May 2019 10:57:19 -0700 (PDT)
Received: from a8-64.smtp-out.amazonses.com (a8-64.smtp-out.amazonses.com [54.240.8.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E489D120020; Mon, 27 May 2019 10:57:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw; d=amazonses.com; t=1558979836; h=From:Message-Id:Content-Type:Mime-Version:Subject:Date:In-Reply-To:Cc:To:References:Feedback-ID; bh=INa1j6kCqWq/zvemtOFchBzzfEHMJ8pw7XvPw6Os3J4=; b=D0RdzUDg4F+05KgUFQoIWgXYE1HkmtOko7VtpfYc4xAre9kpTRSSCB4hJUmn9pox OrsXMpwpBnqU3s4lATf6xiXgoqmzdWqKD3DINz9nKxLVvxg3GSGvVU85IavA2iNhj9z XpVmvEG+36jBDUmDs1FvhC46/ALL+e0jA+JiiQ2c=
From: Kent Watsen <kent@watsen.net>
Message-ID: <0100016afa70796c-314cbf69-755f-4ae2-b83a-d53507714c69-000000@email.amazonses.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_A72C3B18-4822-4388-B018-E962862A23A1"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Date: Mon, 27 May 2019 17:57:16 +0000
In-Reply-To: <91E3A1BD737FDF4FA14118387FF6766B2774C768@lhreml504-mbs>
Cc: Lou Berger <lberger@labn.net>, "netmod@ietf.org" <netmod@ietf.org>, "netmod-chairs@ietf.org" <netmod-chairs@ietf.org>
To: Italo Busi <Italo.Busi@huawei.com>
References: <e6fc4541-891a-60cb-e956-86f238d09f14@labn.net> <91E3A1BD737FDF4FA14118387FF6766B2774C768@lhreml504-mbs>
X-Mailer: Apple Mail (2.3445.104.11)
X-SES-Outgoing: 2019.05.27-54.240.8.64
Feedback-ID: 1.us-east-1.DKmIRZFhhsBhtmFMNikgwZUWVrODEw9qVcPhqJEI2DA=:AmazonSES
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/CAo22_Zcjsh5WuoA2XALDm_KoUY>
Subject: Re: [netmod] WG Last Call: draft-ietf-netmod-artwork-folding-02
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 27 May 2019 17:57:23 -0000

Hi Italo,


> 1) Section 7.2.1 (Folding for Single Backslash Strategy) says:
> 
>   Ensure that the desired maximum line length is not less than the
>   minimum header, which is 46 characters.  If the desired maximum line
>   length is less than this minimum, exit (this text-based content
>   cannot be folded).
> 
> However, the first line defined in section 7.1.1 is a "45-character string".
> I think that the paragraph be changed as:
> 
>   Ensure that the desired maximum line length is not less than the
>   minimum header, which is 45 characters.  If the desired maximum line
>   length is less than this minimum, exit (this text-based content
>   cannot be folded).

Fixed in my local copy.


> 2) Section 8.2.1 (Folding for Double Backslash Strategy) says:
> 
> 
>   Ensure that the desired maximum line length is not less than the
>   minimum header, which is 45 characters.  If the desired maximum line
>   length is less than this minimum, exit (this text-based content
>   cannot be folded).
> 
> However, the first line defined in section 8.1.1 is a "46-character string".
> I think that the paragraph be changed as:
> 
>   Ensure that the desired maximum line length is not less than the
>   minimum header, which is 46 characters.  If the desired maximum line
>   length is less than this minimum, exit (this text-based content
>   cannot be folded).

Fixed in my local copy.


> A question for clarification. Reading the following code in Appendix A:
> 
>     if [[ $strategy -eq 2 ]]; then
>       min_supported=`expr ${#hdr_txt_2} + 8`
>     else
>       min_supported=`expr ${#hdr_txt_1} + 8`
>     fi
> 
> It seems to me that the minimum lengths applied by the code in Appendix A are be 53 and 54 (instead of 45 and 46 respectively)
> 
> Is my understanding correct?

The script is not conflicting with the draft, as it does ensure that the length is not less than the raw header text.  Though, to your point, it adds an additional buffer to further ensure that the header will always have some '=' characters wrapping around the header, for readability, in the unlikely scenario that such a narrow-width is needed.   I could go either way on this, does anyone else have an opinion?



> Thanks, Italo

Kent // author