error:(NSException **)_error
acquire:(BOOL)_acquire
{
+ // TODO: We might want to have an addition method to traverse a path without
+ // modifying the context (for internal lookups).
+ // Currently most code uses -lookupName:inContext:acquire: directly,
+ // which doesn't check permissions.
+ // Note: You can also use SoSubContext to accomplish that, but this is not
+ // very convenient.
register BOOL doDebug = _isDebugOn();
WORequest *rq;
BOOL isCreateIfMissingMethod = NO;
+2005-07-22 Helge Hess <helge.hess@opengroupware.org>
+
+ * WEPrototypeScriptAction.m: improved check of if-none-match header
+ (v4.5.4)
+
2005-07-14 Helge Hess <helge.hess@opengroupware.org>
* added Scriptaculous library v1.0.0 (v4.5.3)
# version file
-SUBMINOR_VERSION:=3
+SUBMINOR_VERSION:=4
# v4.5.1 requires libNGObjWeb v4.5.170
/* check preconditions */
- s = [[[self context] request] headerForKey:@"if-none-match"];
- if ([s rangeOfString:etag].length > 0) {
- /* client already has the proper entity */
- [r setStatus:304 /* Not Modified */];
- return r;
+ if ((s = [[[self context] request] headerForKey:@"if-none-match"]) != nil) {
+ if ([s rangeOfString:etag].length > 0) {
+ /* client already has the proper entity */
+ [r setStatus:304 /* Not Modified */];
+ return r;
+ }
}
/* send script */