[core] draft-ietf-core-observe-05 - "obs"

Klaus Hartke <hartke@tzi.org> Tue, 17 April 2012 00:14 UTC

Return-Path: <hartke@tzi.org>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C33B411E80EE for <core@ietfa.amsl.com>; Mon, 16 Apr 2012 17:14:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.627
X-Spam-Level:
X-Spam-Status: No, score=-5.627 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_MED=-4]
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 CPDL-WIcTOyx for <core@ietfa.amsl.com>; Mon, 16 Apr 2012 17:14:38 -0700 (PDT)
Received: from informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) by ietfa.amsl.com (Postfix) with ESMTP id E599911E807F for <core@ietf.org>; Mon, 16 Apr 2012 17:14:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.3/8.14.3) with ESMTP id q3H0ETwf005648 for <core@ietf.org>; Tue, 17 Apr 2012 02:14:29 +0200 (CEST)
Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTPSA id 6D34F996 for <core@ietf.org>; Tue, 17 Apr 2012 02:14:29 +0200 (CEST)
Received: by dady13 with SMTP id y13so10467863dad.27 for <core@ietf.org>; Mon, 16 Apr 2012 17:14:27 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.68.204.9 with SMTP id ku9mr31737947pbc.1.1334621667308; Mon, 16 Apr 2012 17:14:27 -0700 (PDT)
Received: by 10.68.23.37 with HTTP; Mon, 16 Apr 2012 17:14:27 -0700 (PDT)
Date: Tue, 17 Apr 2012 02:14:27 +0200
Message-ID: <CAB6izERzSzRy53K18CkEJ_KUH_saJcXjsyYR8vSy4_8Pej7Q4g@mail.gmail.com>
From: Klaus Hartke <hartke@tzi.org>
To: core@ietf.org
Content-Type: text/plain; charset="ISO-8859-1"
Subject: [core] draft-ietf-core-observe-05 - "obs"
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/core>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Apr 2012 00:14:38 -0000

In the spirit of "In protocol design, perfection has been reached not
when there is nothing left to add, but when there is nothing left to
take away" [1]:

Do we really need the "obs" link attribute?

Some thoughts:

* If a client wants to have a fresh representation of a resource over
a period of time, it can include the Observe option in its request. If
the server does not support -observe, the client can poll the resource
to achieve its goal.

* If a client for whatever reason only wants to have a fresh
representation of a resource over a period of time if the server
supports -observe, it can include Observe option in its request and
not poll if the if the server does not support -observe.

* If a client wants a single snapshot representation of a resource, it
can omit the Observe option from its request.

Under what circumstances can a client not be sure if it wants to have
a fresh representation of a resource over a period of time, so a hint
from the server is needed?


Klaus


[1] http://tools.ietf.org/html/rfc1925