W3C home > Mailing lists > Public > ietf-http-wg@w3.org > January to March 2012

Re: Idempotent partial updates

From: Mike Kelly <mikekelly321@gmail.com>
Date: Wed, 29 Feb 2012 23:52:14 +0000
Message-ID: <CANqiZJYXX80GLSK1V42iMttU7AHM8YS1mvhAeP=v3hujW4m4Yg@mail.gmail.com>
To: Henrik Nordström <henrik@henriknordstrom.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
2012/2/29 Henrik Nordström <henrik@henriknordstrom.net>:
> ons 2012-02-29 klockan 19:59 +0000 skrev Mike Kelly:
>> Right, it is closely coupled - as is any other interaction driven by
>> shared understanding between the client and the server. Not everything
>> needs, or can be, visible on the network and is better off dealt with
>> via shared understanding between client and server. What is it about
>> the non-partial'ness of PUT that requires it to be made visible by
>> HTTP across the web as a whole?
> Simply the fact that HTTP/1.x do not allow upgrades of defined methods
> in this manner.
> If this "partial PUT" is sent to a server that do not understand it
> would result in breakage, therefore it can not be accepted as an
> extension of the existing PUT method. Instead it needs to use a new
> method, making sure that breakage do not occur if the request is
> attepmted somewhere where it's not supported.

Upgrading PUT so it is less specific about replacement wouldn't result
in this breakage. Clients don't make requests to servers arbitrarily,
they make them according to whatever application they are fulfilling.
i.e. if an application is operating on the basis that PUT requests to
its resources are replacements, then HTTP relaxing the semantics of
PUT to permit partials would not create breakage.

Received on Wednesday, 29 February 2012 23:52:42 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 11:11:00 UTC