ソースを参照

change GET response from GONE to NOT FOUND when item is not found

deronnax 11 年 前
コミット
5b8333c2b0
1 ファイル変更1 行追加1 行削除
  1. 1 1
      radicale/__init__.py

+ 1 - 1
radicale/__init__.py

@@ -423,7 +423,7 @@ class Application(object):
                     collection.tag, collection.headers, items)
                 etag = item.etag
             else:
-                return client.GONE, {}, None
+                return client.NOT_FOUND, {}, None
         else:
             # Create the collection if it does not exist
             if not collection.exists: