Monotone-Parent: c67c4c1e3289a8f67e6b76552865f8579612090b

Monotone-Revision: 314258a347f9d34b19270de4e4ee70dbd2489cb7

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-07-21T16:15:57
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2008-07-21 16:15:57 +00:00
parent 58f60a2130
commit 77cc96a070
2 changed files with 13 additions and 3 deletions
+7 -3
View File
@@ -315,9 +315,13 @@
response = [_ctx response];
/* setup response */
// TODO: this should be automatic in the SoDispatcher if we return nil?
[response setStatus: 201 /* Created */];
// TODO: this should be automatic in the SoDispatcher if we return
// nil?
if (isNew)
[response setStatus: 201 /* Created */];
else
[response setStatus: 204 /* No Content */];
etag = [self davEntityTag];
if (etag)
{