Roxen.git
/
server
/
base_server
/
module.pike
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/base_server/module.pike:1:
// This file is part of Roxen WebServer. // Copyright © 1996 - 2001, Roxen IS.
-
// $Id: module.pike,v 1.
198
2004/05/12
14
:
31
:
10
mast Exp $
+
// $Id: module.pike,v 1.
199
2004/05/12
15
:
19
:
48
mast Exp $
#include <module_constants.h> #include <module.h> #include <request_trace.h> constant __pragma_save_parent__ = 1; inherit "basic_defvar"; mapping(string:array(int)) error_log=([]);
Roxen.git/server/base_server/module.pike:1222:
} } } if (fail) { SIMPLE_TRACE_LEAVE ("Partial failure"); return Roxen.http_status(424); } } SIMPLE_TRACE_LEAVE ("");
-
return
0
;
+
return
delete_file (path, id)
;
};
-
return recurse(path, st) ||
delete_file(path, id) ||
Roxen.http_status(204);
+
return recurse(path, st) || Roxen.http_status(204);
} mapping(string:mixed) make_collection(string path, RequestID id) { // Fall back to find_file(). RequestID tmp_id = id->clone_me(); tmp_id->not_query = query_location() + path; tmp_id->method = "MKCOL"; // FIXME: Logging? return find_file(path, tmp_id);