return quote(str, RFC2396_PATH_SEGMENTS);
return quote(str, RFC3986_PATH_SEGMENTS);
  private static String quotePath(String str)  {    // Technically, we should be using RFC2396_PATH, but    // it contains no additional characters.    return quote(str, RFC2396_PATH_SEGMENTS);	}