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 forwarded." So, it MUST reach the origin server, since proxies are unlikely to answer a PATCH from cache. //Stefan -- Stefan Eissing <green/>bytes GmbH Hafenweg 16 D-48155 Münster Germany Amtsgericht Münster: HRB5782Received 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