Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.2

Bug #20412 Technique used is explicitly forbidden by current RFC
Submitted: 2014-09-18 18:34 UTC
From: davidanderson684 Assigned:
Status: Open Package: HTTP_WebDAV_Client (version SVN)
PHP Version: 5.5.16 OS: All
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 9 - 4 = ?

 
 [2014-09-18 18:34 UTC] davidanderson684 (David Anderson)
Description: ------------ The June 2014 RFC (http://tools.ietf.org/html/rfc7231#section-4.3.4) for HTTP states: "An origin server that allows PUT on a given target resource MUST send a 400 (Bad Request) response to a PUT request that contains a Content-Range header field (Section 4.2 of [RFC7233]), since the payload is likely to be partial content that has been mistakenly PUT as a full representation. Partial content updates are possible by targeting a separately identified resource with state that overlaps a portion of the larger resource, or by using a different method that has been specifically defined for partial updates (for example, the PATCH method defined in [RFC5789])." The current HTTP_WebDav_Client uses *only* this forbidden method. So, it can't work with compliant servers. One example of a server implementing this correctly: https://github.com/owncloud/core/issues/10386

Comments