- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 277 for plain (0.06 sec)
-
samples/compare/src/test/kotlin/okhttp3/compare/ApacheHttpClientTest.kt
request.addHeader("Accept", "text/plain") httpClient.execute(request).use { response -> assertThat(response.code).isEqualTo(200) assertThat(EntityUtils.toString(response.entity)).isEqualTo("hello, Apache HttpClient 5.x") } val recorded = server.takeRequest() assertThat(recorded.headers["Accept"]).isEqualTo("text/plain")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.1K bytes - Viewed (0) -
internal/logger/help.go
}, config.HelpKV{ Key: KafkaSASLUsername, Description: "username for SASL/PLAIN or SASL/SCRAM authentication", Optional: true, Type: "string", Sensitive: true, }, config.HelpKV{ Key: KafkaSASLPassword, Description: "password for SASL/PLAIN or SASL/SCRAM authentication", Optional: true, Type: "string", Sensitive: true,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 11 22:20:42 UTC 2024 - 7.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/RegexRuleTest.java
responseData.setMimeType("text/plain"); return responseData; } private ResponseData getTestData4() { final ResponseData responseData = new ResponseData(); responseData.setHttpStatusCode(404); responseData.setUrl("https://example.com/"); responseData.setMimeType("text/plain"); return responseData; }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 4.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java
import java.util.concurrent.ThreadFactory; import java.util.concurrent.atomic.AtomicBoolean; import org.checkerframework.checker.nullness.qual.Nullable; /** * Utilities necessary for working with libraries that supply plain {@link Future} instances. Note * that, whenever possible, it is strongly preferred to modify those libraries to return {@code * ListenableFuture} directly. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Dec 14 20:35:03 UTC 2023 - 7.5K bytes - Viewed (0) -
samples/static-server/src/main/java/okhttp3/sample/SampleServer.java
return new MockResponse() .setStatus("HTTP/1.1 404") .addHeader("content-type: text/plain; charset=utf-8") .setBody("NOT FOUND: " + path); } catch (IOException e) { return new MockResponse() .setStatus("HTTP/1.1 500") .addHeader("content-type: text/plain; charset=utf-8") .setBody("SERVER ERROR: " + e); } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Jan 02 02:50:44 UTC 2019 - 4.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java
try (final ResponseData responseData = storageClient.doGet("storage://fess/file1.txt")) { assertEquals("storage://fess/file1.txt", responseData.getUrl()); assertEquals("text/plain", responseData.getMimeType()); assertEquals("file1", new String(InputStreamUtil.getBytes(responseData.getResponseBody()))); assertEquals(5, responseData.getContentLength());
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 13.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
assertFailsWith<IllegalArgumentException> { Request.Builder().method("GET", "abc".toRequestBody("text/plain".toMediaType())) } } @Test fun head() { server.enqueue( MockResponse( headers = headersOf("Content-Type", "text/plain"), ), ) val request = Request.Builder() .url(server.url("/")) .head()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 142.5K bytes - Viewed (0) -
istioctl/pkg/clioptions/central.go
InsecureSkipVerify bool // XDSSAN is the expected Subject Alternative Name of the XDS server XDSSAN string // Plaintext forces plain text communication (for talking to port 15010) Plaintext bool // GCP project number or ID to use for XDS calls, if any. GCPProject string // Istiod address. For MCP may be different than Xds. IstiodAddr string
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jun 06 03:39:27 UTC 2022 - 3.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/TextTransformerTest.java
ExtractorFactory extractorFactory = container.getComponent("extractorFactory"); TikaExtractor tikaExtractor = container.getComponent("tikaExtractor"); extractorFactory.addExtractor("text/plain", tikaExtractor); extractorFactory.addExtractor("text/html", tikaExtractor); } public void test_name() { assertEquals("textTransformer", textTransformer.getName()); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 4.6K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt
.assertNoMoreLogs() } private fun request(): Request.Builder { return Request.Builder().url(url) } companion object { private val PLAIN = "text/plain".toMediaType() }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 10.2K bytes - Viewed (0)