Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for fakeurl (0.14 sec)

  1. src/net/http/client_test.go

    func testClientRedirect308NoGetBody(t *testing.T, mode testMode) {
    	const fakeURL = "https://localhost:1234/" // won't be hit
    	ts := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		w.Header().Set("Location", fakeURL)
    		w.WriteHeader(308)
    	})).ts
    	req, err := NewRequest("POST", ts.URL, strings.NewReader("some body"))
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  2. internal/config/subnet/config.go

    	}
    	os.Setenv("CONSOLE_SUBNET_URL", c.BaseURL)
    }
    
    // Update - in-place update with new license and registration information.
    func (c *Config) Update(ncfg Config, isDevEnv bool) {
    	configLock.Lock()
    	defer configLock.Unlock()
    
    	c.License = ncfg.License
    	c.APIKey = ncfg.APIKey
    	c.Proxy = ncfg.Proxy
    	c.transport = ncfg.transport
    	c.BaseURL = baseURL
    
    	if isDevEnv {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/report/DefaultTestReport.java

            return new HtmlReportFileGenerator<T>(fileUrl, results, renderer, output);
        }
    
        private static class HtmlReportFileGenerator<T extends CompositeTestResults> implements RunnableBuildOperation {
            private final String fileUrl;
            private final T results;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 12:58:15 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. pkg/url/url.go

    )
    
    // istio.io related URLs
    var (
    	// BaseURL for istio.io
    	BaseURL = "https://istio.io/"
    
    	// DocsVersion is a documentation version for istio.io
    	// This will build version as v1.6, v1.7, v1.8
    	DocsVersion = fmt.Sprintf("%s%s", "v", baseVersion)
    
    	// DocsURL is a base docs URL for istio.io
    	DocsURL = fmt.Sprintf("%s%s%s", BaseURL, DocsVersion, "/docs/")
    
    	// #####################################
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 04 11:12:37 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperHttpsIntegrationTest.groovy

            when:
            result = runWithVersion(baseUrl, "latest")
    
            then:
            validateDistributionUrl("7.6", getEscapedAuthenticatedBaseUrl())
        }
    
        def "validate properties file content for any version"() {
            given:
            server.expect(server.head("/$TEST_DISTRIBUTION_URL"))
            def baseUrl = getAuthenticatedBaseUrl()
            prepareWrapper(baseUrl)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/PerformanceDatabase.java

            }
        }
    
        public String getUrl() {
            String baseUrl = System.getProperty(PERFORMANCE_DB_URL_PROPERTY_NAME);
            if (baseUrl == null) {
                throw new RuntimeException("You need to specify a URL for the performance database");
            }
            StringBuilder url = new StringBuilder(baseUrl);
            if (!baseUrl.endsWith("/")) {
                url.append('/');
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/driver/webui.go

    		if host == v {
    			return true
    		}
    	}
    	return false
    }
    
    func openBrowser(url string, o *plugin.Options) {
    	// Construct URL.
    	baseURL, _ := gourl.Parse(url)
    	current := currentConfig()
    	u, _ := current.makeURL(*baseURL)
    
    	// Give server a little time to get ready.
    	time.Sleep(time.Millisecond * 500)
    
    	for _, b := range browsers() {
    		args := strings.Split(b, " ")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 14K bytes
    - Viewed (0)
  8. platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/Download.java

            }
        }
    
        public void sendHeadRequest(URI uri) throws Exception {
            URL safeUrl = safeUri(uri).toURL();
            int responseCode = -1;
            try {
                HttpURLConnection conn = (HttpURLConnection)safeUrl.openConnection();
                conn.setRequestMethod("HEAD");
                addBasicAuthentication(uri, conn);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/net/URLUtil.java

         * URLが示すJarファイルの{@link File}オブジェクトを返します。
         *
         * @param fileUrl
         *            JarファイルのURL。{@literal null}であってはいけません
         * @return Jarファイルの{@link File}
         */
        public static File toFile(final URL fileUrl) {
            assertArgumentNotNull("fileUrl", fileUrl);
    
            try {
                final String path = URLDecoder.decode(fileUrl.getPath(), "UTF-8");
                return new File(path).getAbsoluteFile();
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/internal/driver/settings.go

    		configs = append(configs, settings.Configs...)
    	}
    
    	// Convert to menu entries.
    	result := make([]configMenuEntry, len(configs))
    	lastMatch := -1
    	for i, cfg := range configs {
    		dst, changed := cfg.config.makeURL(u)
    		if !changed {
    			lastMatch = i
    		}
    		// Use a relative URL to work in presence of stripping/redirects in webui.go.
    		rel := &url.URL{RawQuery: dst.RawQuery, ForceQuery: true}
    		result[i] = configMenuEntry{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top