Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,110 for curl (0.03 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractorTest.java

            url = null;
            params.put(ExtractData.URL, url);
            assertNull(pdfExtractor.getPassword(params));
    
            url = "http://test.com/hoge1.pdf";
            params.put(ExtractData.URL, url);
            assertEquals("password", pdfExtractor.getPassword(params));
    
            url = "http://test.com/hoge1.pdf";
            params.put(ExtractData.URL, url);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CacheTest.kt

            .build(),
        )
        val url = server.url("/")
        assertThat(get(url).body.string()).isEqualTo("A")
        val request =
          Request.Builder()
            .url(url)
            .method("POST", requestBodyOrNull("POST"))
            .build()
        val invalidate = client.newCall(request).execute()
        assertThat(invalidate.body.string()).isEqualTo("B")
        assertThat(get(url).body.string()).isEqualTo("C")
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java

            final String url = "http://test.com/";
            final ResponseData response = client.execute(RequestDataBuilder.newRequestData().get().url(url).build());
            assertEquals(1, testListener.startCount);
            assertEquals(1, testListener.requestCount);
            assertEquals(0, testListener.exceptionCount);
            assertEquals(1, testListener.endCount);
            assertEquals(url, testListener.requestUrl);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/DuplicateHostHelperTest.java

            result = "http://www.foo.com";
            assertEquals(result, duplicateHostHelper.convert(url));
    
            url = "http://www.foo.com/";
            result = "http://www.foo.com/";
            assertEquals(result, duplicateHostHelper.convert(url));
    
            url = "http://www.foo.com:8080/";
            result = "http://www.foo.com:8080/";
            assertEquals(result, duplicateHostHelper.convert(url));
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java

            url = "http://hoge/index.html?a=1&b=2";
            assertEquals(url, htmlTransformer.normalizeUrl(url));
    
            url = "http://hoge/index.html#hoge";
            assertEquals("http://hoge/index.html", htmlTransformer.normalizeUrl(url));
    
            url = "http://hoge/index.html#";
            assertEquals("http://hoge/index.html", htmlTransformer.normalizeUrl(url));
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

            }
    
            String url = u;
            final String originalUrl = url;
    
            int idx = url.indexOf("://");
            if (idx >= 0) {
                url = url.substring(idx + 3);
            }
    
            idx = url.indexOf('/');
            if (idx >= 0) {
                url = url.substring(0, idx);
            }
    
            if (url.equals(originalUrl)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. misc/linkcheck/linkcheck.go

    	}
    	if crawled[url] {
    		return
    	}
    	crawled[url] = true
    
    	wg.Add(1)
    	go func() {
    		urlq <- url
    	}()
    }
    
    func addProblem(url, errmsg string) {
    	msg := fmt.Sprintf("Error on %s: %s (from %s)", url, errmsg, linkSources[url])
    	if *verbose {
    		log.Print(msg)
    	}
    	problems = append(problems, msg)
    }
    
    func crawlLoop() {
    	for url := range urlq {
    		if err := doCrawl(url); err != nil {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 06 15:53:04 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/Request.kt

        }
    
        open fun url(url: HttpUrl): Builder =
          apply {
            this.url = url
          }
    
        /**
         * Sets the URL target of this request.
         *
         * @throws IllegalArgumentException if [url] is not a valid HTTP or HTTPS URL. Avoid this
         *     exception by calling [HttpUrl.parse]; it returns null for invalid URLs.
         */
        open fun url(url: String): Builder {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:17:44 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. cmd/admin-handlers-idp-config.go

    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	dynamic, err := cfg.ReadConfig(strings.NewReader(cfgData))
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	// IDP config is not dynamic. Sanity check.
    	if dynamic {
    		writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), "", r.URL)
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. compat/maven-builder-support/src/main/java/org/apache/maven/building/UrlSource.java

            this.url = Objects.requireNonNull(url, "url cannot be null");
            this.hashCode = Objects.hashCode(url);
        }
    
        @Override
        public InputStream getInputStream() throws IOException {
            return url.openStream();
        }
    
        @Override
        public String getLocation() {
            return url.toString();
        }
    
        /**
         * Gets the URL of this source.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top