Monotone-Parent: c67c4c1e3289a8f67e6b76552865f8579612090b

Monotone-Revision: 314258a347f9d34b19270de4e4ee70dbd2489cb7

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-07-21T16:15:57
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2008-07-21 16:15:57 +00:00
parent 58f60a2130
commit 77cc96a070
2 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2008-07-21 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/SOGo/SOGoContentObject.m ([SOGoContentObject
-PUTAction:_ctx]): when the object is new, return 201. Otherwise,
return 204 as success code.
2008-07-18 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/Scheduler/UIxCalWeekView.m ([UIxCalWeekView -startDate]):

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)
{