+2004-09-30 Helge Hess <helge.hess@skyrix.com>
+
+ * WebDAV/SoWebDAVRenderer.m: set lock-token header on LOCK requests
+ (v4.3.49)
+
2004-09-27 Helge Hess <helge.hess@opengroupware.org>
* DynamicElements/WONestedList.m: minor code cleanups (v4.3.48)
# version file
-SUBMINOR_VERSION:=48
+SUBMINOR_VERSION:=49
# v4.3.42 requires libNGExtensions v4.3.116
# v4.3.40 requires libNGExtensions v4.3.115
/*
- Copyright (C) 2000-2003 SKYRIX Software AG
+ Copyright (C) 2000-2004 SKYRIX Software AG
- This file is part of OGo
+ This file is part of OpenGroupware.org.
OGo is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
#include "SoDAVLockManager.h"
#include "common.h"
scope:(NSString *)_scope type:(NSString *)_lockType
owner:(NSString *)_ownerURL
{
+ /* returns the lock token */
SoDAVLockInfo *lockInfo;
if ((lockInfo = [self->uriToLockInfo objectForKey:_uri])) {
/*
- Copyright (C) 2000-2003 SKYRIX Software AG
+ Copyright (C) 2000-2004 SKYRIX Software AG
- This file is part of OGo
+ This file is part of OpenGroupware.org.
OGo is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
#include "SoWebDAVRenderer.h"
#include "SoWebDAVValue.h"
[r setStatus:200];
[r setContentEncoding:NSUTF8StringEncoding];
[r setHeader:@"text/xml; charset=\"utf-8\"" forKey:@"content-type"];
+ [r setHeader:[_object stringValue] forKey:@"lock-token"];
[r appendContentString:@"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"];
[r appendContentString:@"<D:prop xmlns:D=\"DAV:\">"];
[r appendContentString:@"<D:lockdiscovery>"];