- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 49 for fakeurl (0.14 sec)
-
okhttp/src/test/java/okhttp3/ConnectionListenerTest.kt
server!!.enqueue( MockResponse( code = 301, headers = headersOf("Location", "http://www.fakeurl:" + server!!.port), ), ) server!!.enqueue(MockResponse()) val dns = FakeDns() dns["fakeurl"] = client.dns.lookup(server!!.hostName) dns["www.fakeurl"] = client.dns.lookup(server!!.hostName) client = client.newBuilder() .dns(dns) .build()
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 9.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/EventListenerTest.kt
server.enqueue( MockResponse.Builder() .code(301) .setHeader("Location", "http://www.fakeurl:" + server.port) .build(), ) server.enqueue(MockResponse()) val dns = FakeDns() dns["fakeurl"] = client.dns.lookup(server.hostName) dns["www.fakeurl"] = client.dns.lookup(server.hostName) client = client.newBuilder() .dns(dns) .build()
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 56.9K bytes - Viewed (0) -
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) -
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) -
src/go/doc/comment/print.go
if strings.HasSuffix(baseURL, "/") { slash = "/" } else { baseURL += "/" } switch { case l.Name == "": return baseURL + l.ImportPath + slash case l.Recv != "": return baseURL + l.ImportPath + slash + "#" + l.Recv + "." + l.Name default: return baseURL + l.ImportPath + slash + "#" + l.Name } } if l.Recv != "" { return "#" + l.Recv + "." + l.Name } return "#" + l.Name
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 7.6K bytes - Viewed (0) -
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) -
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) -
platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/ApacheDirectoryListingParserTest.groovy
private static final CONTENT_TYPE = "text/html;charset=utf-8"; private URI baseUrl = URI.create("http://testrepo/") private ApacheDirectoryListingParser parser = new ApacheDirectoryListingParser(); def "parse returns empty List if no link can be found"() { expect: List urls = parser.parse(baseUrl, new ByteArrayInputStream("<html>no link here</html>".bytes), CONTENT_TYPE) assertNotNull(urls)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 7.2K bytes - Viewed (0) -
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) -
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)