Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 1,110 for curl (0.03 sec)

  1. src/test/java/org/codelibs/core/io/ResourceTraversalTest.java

         */
        @Test
        public void testForEachZipInputStream() throws Exception {
            final String classFilePath = TestCase.class.getName().replace('.', '/') + ".class";
            final URL classURL = ResourceUtil.getResource(classFilePath);
            final URL jarURL = new File(JarFileUtil.toJarFilePath(classURL)).toURI().toURL();
            ResourceTraversalUtil.forEach(new ZipInputStream(jarURL.openStream()), (ResourceHandler) (path, is) -> {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Cache.kt

        ): Boolean {
          return url == request.url &&
            requestMethod == request.method &&
            varyMatches(response, varyHeaders, request)
        }
    
        fun response(snapshot: DiskLruCache.Snapshot): Response {
          val contentType = responseHeaders["Content-Type"]
          val contentLength = responseHeaders["Content-Length"]
          val cacheRequest = Request(url, varyHeaders, requestMethod)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

        protected String getSiteOnFile(final String url, final String encoding) {
            if (StringUtil.isBlank(url)) {
                return StringUtil.EMPTY; // empty
            }
    
            if (url.startsWith("file:////")) {
                final String value = decodeUrlAsName(url.substring(9), true);
                return abbreviateSite("\\\\" + value.replace('/', '\\'));
            }
            if (url.startsWith("file:")) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java

            super.setUp();
            new StandardCrawlerContainer();
        }
    
        public void test_protocol() throws Exception {
            URL url = new URL("storage:/home/foo");
            assertEquals("storage", url.getProtocol());
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/-RequestCommon.kt

      }
      return result
    }
    
    internal fun canonicalUrl(url: String): String {
      // Silently replace web socket URLs with HTTP URLs.
      return when {
        url.startsWith("ws:", ignoreCase = true) -> {
          "http:${url.substring(3)}"
        }
        url.startsWith("wss:", ignoreCase = true) -> {
          "https:${url.substring(4)}"
        }
        else -> url
      }
    }
    
    fun Request.Builder.commonHeader(
      name: String,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. istioctl/pkg/multixds/google.go

    // limitations under the License.
    
    package multixds
    
    import (
    	"fmt"
    	"net/url"
    	"strings"
    )
    
    func isMCPAddr(u *url.URL) bool {
    	return strings.HasSuffix(u.Host, ".googleapis.com") || strings.HasSuffix(u.Host, ".googleapis.com:443")
    }
    
    func parseMCPAddr(u *url.URL) (*xdsAddr, error) {
    	ret := &xdsAddr{host: u.Host}
    	if !strings.HasSuffix(ret.host, ":443") {
    		ret.host += ":443"
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jun 06 03:39:27 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  7. src/main/webapp/js/login.js

        var button = $(event.relatedTarget),
            docId = button.data("docid"),
            title = button.data("title"),
            url = button.data("url");
    
        $(this)
          .find(".modal-body #delete-doc-title")
          .text(title);
        $(this)
          .find(".modal-body #delete-doc-url")
          .text(url);
        $(this)
          .find(".modal-footer input#docId")
          .val(docId);
      });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Sep 12 06:47:49 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

                }
    
                protected String getRepositoryContent(String url) {
                    if (url.endsWith("/")) {
                        url = url + "index.html";
                    }
                    if (url.contains("plugin/repo1")) {
                        try (InputStream is = ResourceUtil.getResourceAsStream(url)) {
                            return new String(InputStreamUtil.getBytes(is), Constants.UTF_8);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 12:38:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java

         * <origin><![CDATA[
         * <distributionManagement>
         * <repository>
         * <id>some-repo</id>
         * <url>scp://host/path</url>
         * </repository>
         * <snapshotRepository>
         * <id>some-snap-repo</id>
         * <url>scp://host/snapshot-path</url>
         * </snapshotRepository>
         * </distributionManagement>
         * ]]></origin>
         * <usage><![CDATA[
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/test/resources/poms/inheritance/module-path-not-artifactId-expected.xml

      <url>http://www.apache.org/child/</url>
      <scm>
        <connection>scm:my-scm:http://domain.org/base/child</connection>
        <developerConnection>scm:my-scm:https://domain.org/base/child/</developerConnection>
        <url>https://domain.org/base/child</url>
      </scm>
      <distributionManagement>
        <site>
          <url>scp://scp.domain.org/base/child/</url>
        </site>
      </distributionManagement>
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top