Branch: Tag:

2018-04-03

2018-04-03 13:11:57 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [WebDAV]: Some minor code clean up.

92:    return ::`[](index);    }    +  protected string _sprintf(int c) +  { +  return sprintf("%O(%O, %O, %O)", this_program, status, headers, data);    } -  + }      protected WebDAVResponse webdav_request(string method,    string path,
146:    path = path[1..];    }    -  Standards.URI url = Standards.URI(Protocols.HTTP.percent_encode(path), base_uri); +  path = map((path/"/"), Protocols.HTTP.percent_encode) * "/"; +  Standards.URI url = Standards.URI(path, base_uri);    con = Protocols.HTTP.do_method(method, url, UNDEFINED, headers, con, data);       report_debug("Webdav: %s %O (url: %O) ==> code: %d\n",