Re: [apps-discuss] informal Last Call on draft-reschke-http-status-308-02

Julian Reschke <julian.reschke@gmx.de> Sat, 14 January 2012 15:28 UTC

Return-Path: <julian.reschke@gmx.de>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A031421F85A4 for <apps-discuss@ietfa.amsl.com>; Sat, 14 Jan 2012 07:28:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.997
X-Spam-Level:
X-Spam-Status: No, score=-102.997 tagged_above=-999 required=5 tests=[AWL=-0.998, BAYES_00=-2.599, J_CHICKENPOX_92=0.6, USER_IN_WHITELIST=-100]
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 T7JbOO9hLO8J for <apps-discuss@ietfa.amsl.com>; Sat, 14 Jan 2012 07:28:06 -0800 (PST)
Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by ietfa.amsl.com (Postfix) with SMTP id 34F8521F85A1 for <apps-discuss@ietf.org>; Sat, 14 Jan 2012 07:28:05 -0800 (PST)
Received: (qmail invoked by alias); 14 Jan 2012 15:28:04 -0000
Received: from p3EE27592.dip.t-dialin.net (EHLO [192.168.178.36]) [62.226.117.146] by mail.gmx.net (mp013) with SMTP; 14 Jan 2012 16:28:04 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX180GMEgs4U0JCjRYoRW4Q5OXYx0YZSQ2StCwGfE3n Pnzul9pRDIrL8v
Message-ID: <4F119EFE.7040106@gmx.de>
Date: Sat, 14 Jan 2012 16:27:58 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1
MIME-Version: 1.0
To: Bjoern Hoehrmann <derhoermi@gmx.net>
References: <20120114105523.32324.64307.idtracker@ietfa.amsl.com> <4F116C45.2060605@gmx.de> <8i53h715g9kjghtgqhsjqvb4mdnelqaqa0@hive.bjoern.hoehrmann.de>
In-Reply-To: <8i53h715g9kjghtgqhsjqvb4mdnelqaqa0@hive.bjoern.hoehrmann.de>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Cc: HTTP Working Group <ietf-http-wg@w3.org>, IETF Apps Discuss <apps-discuss@ietf.org>
Subject: Re: [apps-discuss] informal Last Call on draft-reschke-http-status-308-02
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 14 Jan 2012 15:28:07 -0000

On 2012-01-14 16:18, Bjoern Hoehrmann wrote:
> * Julian Reschke wrote:
>> I just submitted a new revision of draft-reschke-http-status-308 - see
>> below (HTML version at
>> <http://greenbytes.de/tech/webdav/draft-reschke-http-status-308-02.html>).
>>
>> At this point, I'd like to solicit additional feedback before I submit
>> this to the IESG (which I plan to do in two weeks from now).
>
> Your HTML example has a bad<title>  and doesn't even validate, never
> minding the lack of character encoding information in the sample re-
> sponse. I would suggest something like

- what's the problem with the title?
- why do I need to specify encoding? It's all US-ASCII
- validator.nu says it's happy once I had the HTML4 strict doctype; 
would that work for you?

>    HTTP/1.1 308 Permanent Redirect
>    Content-Type: text/html;charset=utf-8
>    Location: http://example.com/new
>
>    ...
>    <meta http-equiv='refresh' content='0; url=http://example.com/new'>
>    ...
>
> which would avoid the stylistic problems in addition to being much
> shorter.
>
> In the IANA Considerations I think it is better to say something like
> "This document adds such and such to registry so and so" or whatever,
> rather than the imperative, as the "shall" will be weird after IANA
> added it, and not having to change such text is better than having to.

The RFC Editor rewrites this part upon publication.

> The RFC3986 reference seems non-normative to me.

May be.

> Back when someone at the IETF secretariat checked internet drafts prior
> to posting them, I had one rejected because the Abstract was too short.
> Your Abstract is much shorter, it might be a good idea to add a sentence
> what the status code is for.

I'll monitor what happens with draft-nottingham-http-new-status, just 
out of LC which looks similar to me. (It also has "invalid" HTML, why 
didn't you complain? :-)

> I think you need a better term for "permanent URI". How about simply re-
> moving the "permanent" and possibly adding "new" to the second instance?

I'd prefer to use language consistent with RFC 2616.

> The fallback requirement
>
>    Unless the request method was HEAD, the representation of the response
>    SHOULD contain a short hypertext note with a hyperlink to the new
>    URI(s), since most user agents do not understand the 308 status code
>    yet. Therefore, the note SHOULD contain the information necessary for
>    a user to repeat the original request on the new URI.
>
> strikes me as a bad idea. It's a transient problem so it should be con-
> ditioned and how widely supported this is, and it's only useful if you
> have some HTML implementation on the other end or an interactive user; a
> web service not meant for interactive use where you can be sure that the
> code is supported, because, say, you control the client, is unaffected,
> and if you add that as another exception you basically end up saying you
> can do this so your site works better with legacy clients in some situ-
> ations and making your site work good is probably a good idea, so I'd
> prefer just saying that. I don't really want to ponder whether I should
> send this hypertext response in response to an OPTIONS request in 2015,
> just because your specification says I should.

Again, this is consistent with RFC 2616 and HTTPbis (for now).

We may want to tune the text in HTTPbis (please follow up over there), 
in which case I'll apply the same changes to the spec for 308.

Best regards, Julian