You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
webDAV DELETE, COPY or MOVE requests should not send a body in the request. If a body is sent, then the server is supposed to return HTTP status 415 (Unsupported Media Type): https://datatracker.ietf.org/doc/html/rfc4918#section-8.4
grgprarup
changed the title
HTTP status should be 415(Unsupported Media Type) for MOVE request with body
HTTP status should be 415(Unsupported Media Type) for MOVE, DELETE, COPY request with body
Jul 29, 2022
Note: oCIS correctly returns status 415 for this case.
Someone needs to decide if oC10 should be adjusted to also return status 415 or keep the existing behavior, which ignores the content in the body, and does the MOVE, DELETE or COPY.
Steps to reproduce
uu1
test.txt
MOVE
request fortest.txt
with the body using curlExpected behaviour
webDAV DELETE, COPY or MOVE requests should not send a body in the request. If a body is sent, then the server is supposed to return HTTP status 415 (Unsupported Media Type):
https://datatracker.ietf.org/doc/html/rfc4918#section-8.4
In oCIS: HTTP/1.1 415 Unsupported Media Type
Actual behaviour
In oC10: HTTP/1.1 403 Forbidden
https://drone.owncloud.com/owncloud/core/36451/51/13#:~:text=Scenario%3A%20send%20MOVE%20requests%20to%20webDav%20endpoints%20with,470
Server configuration
Operating system: Ubuntu 20.04 LTS
The text was updated successfully, but these errors were encountered: