W3C home > Mailing lists > Public > ietf-http-wg@w3.org > July to September 2007

Re: PATCH, Expect, Prefer, etc

From: Stefan Eissing <stefan.eissing@greenbytes.de>
Date: Fri, 3 Aug 2007 09:42:03 +0200
Message-Id: <24CB638B-1620-42F6-B79D-0360B62FCAF4@greenbytes.de>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
To: James M Snell <jasnell@gmail.com>

Am 03.08.2007 um 08:18 schrieb James M Snell:
> The Prefer header is defined to be generally identical to Expect with
> the difference being that Prefer MUST be ignored if it is not
> understood.  A server can choose not to fulfill a preference and
> communicate that choice to the client using 418, but proxies are
> required to forward them on.
> A proxy can choose to fulfill a preference if it is capable.  For
> instance, a proxy that receives a 200 or 209 response to a request  
> that
> contains Prefer: 204-no-content can choose to return 204 No Content to
> the client rather than the complete original response.  If the request
> contains 209-content-returned and the server responds with 200 or 204
> (or whatever), then it obviously will not be capable of fulfilling the
> preference and must ignore it.
> Thoughts?


One suggestion: when documenting 204 as default, i think one can  
eliminate "204-no-content". Functionality is the same, deterministic  
what servers default to, less code in server.

Stefan Eissing

<green/>bytes GmbH
Hafenweg 16
D-48155 Münster
Amtsgericht Münster: HRB5782
Received on Friday, 3 August 2007 07:42:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:13:31 UTC