|
@@ -232,7 +232,8 @@ class Workspace(DAVCollection):
|
232
|
232
|
# TODO : remove commentary here raise DAVError(HTTP_FORBIDDEN)
|
233
|
233
|
if '/.deleted/' in self.path or '/.archived/' in self.path:
|
234
|
234
|
raise DAVError(HTTP_FORBIDDEN)
|
235
|
|
-
|
|
235
|
+ # TODO: Test ici que la ressource n'existe pas déjà
|
|
236
|
+ # Si oui on retourne le document déjà existant ?
|
236
|
237
|
return FakeFileStream(
|
237
|
238
|
file_name=file_name,
|
238
|
239
|
content_api=self.content_api,
|