From 1cd7bd11005b5ed2287655271ffbce4d7de00c42 Mon Sep 17 00:00:00 2001 From: Christoph Polcin Date: Fri, 24 Oct 2014 14:09:04 +0200 Subject: [PATCH] ref CopyRename TODOs --- requests.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/requests.go b/requests.go index e2730e4..72dd79c 100644 --- a/requests.go +++ b/requests.go @@ -107,6 +107,13 @@ func (c *Client) copymove(method string, oldpath string, newpath string, overwri switch rs.StatusCode { case 201, 204: return nil + + case 207: + // TODO handle multistat errors, worst case ... + log(String(rs.Body)) + + case 409: + // TODO create dst path } return newPathError(method, oldpath, rs.StatusCode)