- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 472 for url (0.15 sec)
-
okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt
} @Test fun fragmentNonAsciiThatOffendsJavaNetUri() { val url = "http://host/#\u0080".toHttpUrl() assertThat(url.toString()).isEqualTo("http://host/#\u0080") assertThat(url.fragment).isEqualTo("\u0080") assertThat(url.encodedFragment).isEqualTo("\u0080") // Control characters may be stripped! assertThat(url.toUri()).isEqualTo(URI("http://host/#")) } @Test
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.9K bytes - Viewed (0) -
cmd/admin-bucket-handlers.go
return } var target madmin.BucketTarget json := jsoniter.ConfigCompatibleWithStandardLibrary if err = json.Unmarshal(reqBytes, &target); err != nil { writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErrWithErr(ErrAdminConfigBadJSON, err), r.URL) return } sameTarget, _ := isLocalHost(target.URL().Hostname(), target.URL().Port(), globalMinioPort)
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 32.5K bytes - Viewed (0) -
cmd/admin-handlers-config-kv.go
writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } cfg, err := readServerConfig(ctx, objectAPI, nil) if err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } if err = cfg.DelFrom(bytes.NewReader(kvBytes)); err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } if err = validateConfig(ctx, cfg, subSys); err != nil {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 15.7K bytes - Viewed (0) -
cmd/admin-handlers-site-replication.go
return } status, err := globalSiteReplicationSys.RemovePeerCluster(ctx, objectAPI, rreq) if err != nil { adminLogIf(ctx, err) writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } body, err := json.Marshal(status) if err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Apr 15 09:40:39 GMT 2024 - 19.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt
server.enqueue(MockResponse(body = "b")) val request = Request(server.url("/")) assertConnectionReused(request, request) } @Test fun connectionsAreReusedForPosts() { server.enqueue(MockResponse(body = "a")) server.enqueue(MockResponse(body = "b")) val request = Request( url = server.url("/"), body = "request body".toRequestBody("text/plain".toMediaType()), )
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 12.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
final boolean isSmbOrFtpUrl = isSmbUrl || isFtpUrl; // replacing url with mapping data url = ComponentUtil.getPathMappingHelper().replaceUrl(url); final boolean isHttpUrl = url.startsWith("http:") || url.startsWith("https:"); if (isSmbUrl) { url = url.replace("smb:", "file:"); url = url.replace("smb1:", "file:"); } if (isHttpUrl && isSmbOrFtpUrl) {
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 40.1K bytes - Viewed (2) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
client.newCall(request().build()).execute() applicationLogs .assertLogEqual("--> GET $url") .assertLogMatch(Regex("""<-- 200 OK $url \(\d+ms, 0-byte body\)""")) .assertNoMoreLogs() networkLogs .assertLogEqual("--> GET $url http/1.1") .assertLogMatch(Regex("""<-- 200 OK $url \(\d+ms, 0-byte body\)""")) .assertNoMoreLogs() } @Test fun basicPost() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 09:14:38 GMT 2024 - 37.6K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt
checkNotNull(url) { "url not set" }, includeIPv6, post, resolvePrivateAddresses, resolvePublicAddresses, ) } fun client(client: OkHttpClient) = apply { this.client = client } fun url(url: HttpUrl) = apply { this.url = url }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Fri Mar 22 07:09:21 GMT 2024 - 9.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/DuplexTest.kt
fun tearDown() { executorService.shutdown() } @Test @Throws(IOException::class) fun http1DoesntSupportDuplex() { val call = client.newCall( Request.Builder() .url(server.url("/")) .post(AsyncRequestBody()) .build(), ) assertFailsWith<ProtocolException> { call.execute() } } @Test fun trueDuplexClientWritesFirst() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 23.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/TraversalUtil.java
} /** * ファイルを表すURLからルートパッケージの上位となるベースディレクトリを求めて返します。 * * @param url * ファイルを表すURL * @param baseName * ベース名 * @return ルートパッケージの上位となるベースディレクトリ */ protected static File getBaseDir(final URL url, final String baseName) { assertArgumentNotNull("url", url); File file = URLUtil.toFile(url);
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 19.5K bytes - Viewed (0)