Roxen.git
/
server
/
etc
/
test
/
modules
/
TEST.pmod
/
http.pmod
/
WebDAV.pmod
/
TestBase.pike
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/etc/test/modules/TEST.pmod/http.pmod/WebDAV.pmod/TestBase.pike:196:
Standards.URI url = Standards.URI(path, base_uri); con = Protocols.HTTP.do_method(method, url, UNDEFINED, headers, con, data); DAV_WERROR("Webdav: %s %O (url: %O) ==> code: %d\n", method, path, url, con?con->status:600); if (!con) { return WebDAVResponse(600, ([]), "" ); }
+
ASSERT_TRUE((headers->connection == "close") ||
+
(con->headers->connection != "close"));
+
return WebDAVResponse(con->status, con->headers, con->data()); } private mapping(string:string) make_lock_header(mapping(string:string) locks) { string if_header = ""; foreach(locks; string path; string lock_token) { if (has_prefix(path, "/")) { path = path[1..]; }