Re: [link-relations] [apps-discuss] Fwd: I-D Action: draft-ohye-canonical-link-relation-01.txt

Mykyta Yevstifeyev <evnikita2@gmail.com> Wed, 31 August 2011 07:38 UTC

Return-Path: <evnikita2@gmail.com>
X-Original-To: link-relations@ietfa.amsl.com
Delivered-To: link-relations@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E726F21F8C3E; Wed, 31 Aug 2011 00:38:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.47
X-Spam-Level:
X-Spam-Status: No, score=-3.47 tagged_above=-999 required=5 tests=[AWL=0.129, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RG6jYPe0671H; Wed, 31 Aug 2011 00:38:43 -0700 (PDT)
Received: from mail-bw0-f44.google.com (mail-bw0-f44.google.com [209.85.214.44]) by ietfa.amsl.com (Postfix) with ESMTP id 6C1DE21F8B9D; Wed, 31 Aug 2011 00:38:43 -0700 (PDT)
Received: by bkar4 with SMTP id r4so647303bka.31 for <multiple recipients>; Wed, 31 Aug 2011 00:40:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=DzR0EZHtIBwLeexM4RT9AJ9R2zDuGbgw+aaFSePpxQo=; b=wfIyn7wBGXN0JyMw5Rj/VqoDQSiM4CuV0o2/PmOf/2LdML7LjRIJAkarHRuBQByXaB zvfZIdMBG/iMWg9EGfoHOMZ/ExaSmrvoZVgWWbm3GSqmSB3pyPKc5Pnh/Yajq/tmp42C WoPGwo5B9hN8GA10s/BHKpVQI1yOzi1KAUjLE=
Received: by 10.204.155.85 with SMTP id r21mr76538bkw.64.1314776412254; Wed, 31 Aug 2011 00:40:12 -0700 (PDT)
Received: from [127.0.0.1] ([195.191.104.224]) by mx.google.com with ESMTPS id b17sm242310bkd.65.2011.08.31.00.40.10 (version=SSLv3 cipher=OTHER); Wed, 31 Aug 2011 00:40:11 -0700 (PDT)
Message-ID: <4E5DE57B.8070801@gmail.com>
Date: Wed, 31 Aug 2011 10:40:43 +0300
From: Mykyta Yevstifeyev <evnikita2@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0) Gecko/20110812 Thunderbird/6.0
MIME-Version: 1.0
To: Julian Reschke <julian.reschke@gmx.de>
References: <20110829144145.31952.69055.idtracker@ietfa.amsl.com> <4E5D06EA.9040205@gmx.de> <CAKJ_XVBrMLd1CxWUxfeHW2TPPNEmU0uwxiSn1+PN0Dft9ket4Q@mail.gmail.com> <4E5DB9B8.70006@gmail.com> <4E5DD2BF.40801@gmx.de>
In-Reply-To: <4E5DD2BF.40801@gmx.de>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: draft-ohye-canonical-link-relation@tools.ietf.org, apps-discuss@ietf.org, "link-relations@ietf.org" <link-relations@ietf.org>
Subject: Re: [link-relations] [apps-discuss] Fwd: I-D Action: draft-ohye-canonical-link-relation-01.txt
X-BeenThere: link-relations@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <link-relations.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/link-relations>, <mailto:link-relations-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/link-relations>
List-Post: <mailto:link-relations@ietf.org>
List-Help: <mailto:link-relations-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/link-relations>, <mailto:link-relations-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 Aug 2011 07:38:49 -0000

31.08.2011 9:20, Julian Reschke wrote:
> On 2011-08-31 06:34, Mykyta Yevstifeyev wrote:
>> ...
>> Section 3:
>>
>>>     The target/canonical URI MAY:
>>>
>>>     o  Specify a URI Reference (see [RFC3986] Section 4.1) i.e., an
>>>        absolute URI or a relative reference
>>
>> What you mean here? If you wanted to show that canonical URI may be a
>> relative one, you should better write:
>>
>>>     The target/canonical URI MAY:
>>>
>>>     o  Be a relative URI (see [RFC3986], Section 4.2);
>
> The original text seems to be clearer to me.

It is already obvious that target URI must conform to RFC 3986 
<URI-Reference> from RFC 5988:

>    Link           = "Link" ":" #link-value
>    link-value     = "<" URI-Reference">" *( ";" link-param )

and, correspondingly, the target URI *is* (rather than *MAY be*) 
<URI-Reference>.  If the authors want to clarify that target URI may be 
relative, my proposed text is better.

>
>> Ibid:
>>
>>>     o  A URI that serves a 4xx error code (Section 10.4 of [RFC2616]).
>>
>> Again, HTTP-centric approach. There are many other application-layer
>> protocols, for which URI schemes exist, and they aren't very likely to
>> even have the same req/response model as HTTP has. As this is only
>> available in HTTP, I propose to exclude this bullet, unless you can
>> reformulate it so that it doesn't use HTTP-only feature.
>
> -1. This is useful information. Just because something is specific 
> doesn't mean it shouldn't be mentioned.

 From Section 10.4 of RFC 2616:

>     The 4xx class of status code is intended for cases in which the
>     client seems to have erred.

So 4xx responses are used when something is wring with HTTP request.  I 
doubt there are alternatives of such definition in *all* protocols for 
which the URI scheme has been specified.  Eg., FTP doesn't alter error 
conditions caused by client or server; neither does TFTP and many others.

We aren't defining the link relation fro 'http' and 'https' URIs only; 
it is theoretically to allow any scheme, including not yet defined.

>> In Section 5:
>>
>>>     2.  Permanent HTTP redirects (Section 10.3.2 of [RFC2616]), the
>>>         traditional strong indicator that a URI's content has been
>>>         permanently moved, could not be implemented in place of the
>>>         canonical link relation.
>>
>> Also too HTTP-centric approach. The same as above applies.
>
> -1

See above.

>
>> References:
>>
>> Why make RFC 2616 and HTML4 spec Normative references? Shouldn't
>> Informative be OK?
>
> For 2616 is makes sense if there are normative constrains specific for 
> HTTP.

See above as well.  Why tie ourselves with HTTP only?

Mykyta

>
> > ...
>
> Best regards, Julian
>