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

Re: [Fwd: I-D ACTION:draft-dusseault-http-patch-08.txt]

From: Stefan Eissing <stefan.eissing@greenbytes.de>
Date: Thu, 2 Aug 2007 13:40:30 +0200
Message-Id: <02D65FD7-7553-44BE-AA75-DC7FC0205571@greenbytes.de>
Cc: "Roy T. Fielding" <fielding@gbiv.com>, Mark Baker <distobj@acm.org>, Lisa Dusseault <lisa@osafoundation.org>, ietf-http-wg@w3.org
To: Julian Reschke <julian.reschke@gmx.de>

Am 02.08.2007 um 12:32 schrieb Julian Reschke:

> Stefan Eissing wrote:
>> PATCH /resource/x HTTP/1.1
>> Host: www.example.com
>> Expect: patched-content
>> Content-Type: ...
>> HTTP/1.1 417 Expectation failed
>> ...
>> <html><body>Sorry, we do not server content on a patch.</body></html>
>> ...
> This has as deployment problem: "Expect" is hop-by-hop, so it won't  
> work with intermediates that do not now about it.

Objection, your honor! 2616, section 14.20:

"The Expect mechanism is hop-by-hop: that is, an HTTP/1.1 proxy MUST  
return a 417 (Expectation Failed) status if it receives a request  
with an expectation that it cannot meet. However, the Expect request- 
header itself is end-to-end; it MUST be forwarded if the request is  

So, it MUST reach the origin server, since proxies are unlikely to  
answer a PATCH from cache.


Stefan Eissing

<green/>bytes GmbH
Hafenweg 16
D-48155 Münster
Amtsgericht Münster: HRB5782
Received on Thursday, 2 August 2007 11:40:53 UTC

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