- Sort Score
- Result 10 results
- Languages All
Results 501 - 510 of 667 for TXT (0.04 sec)
-
samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java
.protocols(Collections.singletonList(Protocol.H2_PRIOR_KNOWLEDGE)) .build(); Request request = new Request.Builder() .url("http://publicobject.com/helloworld.txt") .build(); try (Response response = client.newCall(request).execute()) { System.out.println(response.body().string()); } server.shutdown(); socketFile.delete(); }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Dec 24 03:46:30 UTC 2018 - 2.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/IdnaMappingTableTest.kt
import org.junit.jupiter.api.Test /** Confirm we get the expected table whether we build it from the .txt file or compact that. */ class IdnaMappingTableTest { private lateinit var table: SimpleIdnaMappingTable private lateinit var compactTable: IdnaMappingTable @BeforeEach fun setUp() { val path = "/okhttp3/internal/idna/IdnaMappingTable.txt".toPath() val plainTable = FileSystem.RESOURCES.read(path) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 8.9K bytes - Viewed (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/Clients.kt
ianaSuites.fromJavaName(it.javaName) }, ) fun historicOkHttp(version: String): Client { val enabled = FileSystem.RESOURCES.read("okhttp_$version.txt".toPath()) { this.readUtf8().lines().filter { it.isNotBlank() }.map { SuiteId(id = null, name = it.trim()) } } return Client( userAgent = "OkHttp", version = version,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/DictionaryManagerTest.java
public void setUp() throws Exception { super.setUp(); testDir = File.createTempFile("synonymtest", "_dir"); testDir.delete(); testDir.mkdirs(); file1 = new File(testDir, "synonym.txt"); FileUtil.writeBytes(file1.getAbsolutePath(), "abc=>123\nxyz,890".getBytes(Constants.UTF_8)); } @Override public void tearDown() throws Exception { super.tearDown();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 2.4K bytes - Viewed (0) -
android-test/src/test/kotlin/okhttp/android/test/BaseOkHttpClientUnitTest.kt
.cache(Cache(FakeFileSystem(), "/cache".toPath(), 10_000_000)) .build() } @Test fun testRequestExternal() { assumeNetwork() val request = Request("https://www.google.com/robots.txt".toHttpUrl()) val networkRequest = request .newBuilder() .build() val call = client.newCall(networkRequest) call.execute().use { response ->
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 22 20:03:31 UTC 2025 - 2.3K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientHttp2Test.kt
@Test fun testHttp2() { val client = HttpAsyncClients.createHttp2Default() client.use { client -> client.start() val request = SimpleHttpRequests.get("https://google.com/robots.txt") val response = client.execute(request, LoggingCallback).get() println("Protocol ${response.version}") println("Response ${response.code}") println("${response.body.bodyText.substring(0, 20)}...")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.6K bytes - Viewed (0) -
android-test/build.gradle.kts
// issue merging due to conflict with httpclient and something else packagingOptions.resources.excludes += setOf( "META-INF/DEPENDENCIES", "META-INF/LICENSE.md", "META-INF/LICENSE-notice.md", "README.txt", "org/bouncycastle/LICENSE" ) } dependencies { implementation(libs.kotlin.reflect) implementation(libs.playservices.safetynet) "friendsImplementation"(projects.okhttp)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 20:01:04 UTC 2025 - 3.8K bytes - Viewed (2) -
src/test/java/jcifs/smb1/smb1/SmbComDeleteTest.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import jcifs.smb1.util.Hexdump; public class SmbComDeleteTest { private static final String TEST_FILE_NAME = "testFile.txt"; private SmbComDelete smbComDelete; @BeforeEach public void setUp() { smbComDelete = new SmbComDelete(TEST_FILE_NAME); } @Test public void testConstructor() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/mime.map
image/x-xwindowdump xwd # text/css css # Cascading Style Sheet text/html html htm # HTML Document text/plain txt ini log in cfg m4 sh # Plain Text File text/richtext rtx # Rich Text File text/tab-separated-values tsv # text/x-setext etx #
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 5.9K bytes - Viewed (0) -
docs/uk/docs/tutorial/background-tasks.md
{* ../../docs_src/background_tasks/tutorial002_an_py310.py hl[13,15,22,25] *} У цьому прикладі повідомлення будуть записані у файл `log.txt` *після* того, як відповідь буде надіслана. Якщо у запиті був переданий query-параметр, він буде записаний у лог у фоновій задачі.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri May 30 13:34:53 UTC 2025 - 7.6K bytes - Viewed (0)