- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for abc2 (0.17 sec)
-
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
enableTls() client = client.newBuilder().eventListenerFactory(clientTestRule.wrap(eventListener)).build() server.enqueue(MockResponse(body = "abc1")) server.enqueue(MockResponse(body = "abc2")) val request = Request.Builder().url(server.url("/")).build() client.newCall(request).execute().use { response -> assertEquals(200, response.code) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 27K bytes - Viewed (1) -
okhttp/src/test/java/okhttp3/SessionReuseTest.kt
}, ), ) .sslSocketFactory(sslSocketFactory, handshakeCertificates.trustManager) .build() server.enqueue(MockResponse(body = "abc1")) server.enqueue(MockResponse(body = "abc2")) val request = Request(server.url("/")) client.newCall(request).execute().use { response -> assertEquals(200, response.code) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
} @Test fun postBodyRetransmittedAfterAuthorizationFail() { postBodyRetransmittedAfterAuthorizationFail("abc") } @Test fun postBodyRetransmittedAfterAuthorizationFail_HTTP_2() { platform.assumeHttp2Support() enableProtocol(Protocol.HTTP_2) postBodyRetransmittedAfterAuthorizationFail("abc") }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 131.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ServerTruncatesRequestTest.kt
MockResponse( body = "abc", socketPolicy = DoNotReadRequestBody(ErrorCode.NO_ERROR.httpCode), ), ) val call = client.newCall( Request( url = server.url("/"), body = SlowRequestBody, ), ) call.execute().use { response -> assertThat(response.body.string()).isEqualTo("abc") }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersChallengesTest.kt
Headers.Builder() .add("WWW-Authenticate", "Other abc==") .build() assertThat(headers.parseChallenges("WWW-Authenticate")) .isEqualTo( listOf(Challenge("Other", mapOf(null to "abc=="))), ) } @Test fun token68AndAuthParams() { val headers = Headers.Builder() .add("WWW-Authenticate", "Other abc==, realm=myrealm") .build()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 16.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
} @Test fun hostnameLowercaseCharactersMappedDirectly() { assertThat(parse("http://abcd").host).isEqualTo("abcd") assertThat(parse("http://σ").host).isEqualTo("xn--4xa") } @Test fun hostnameUppercaseCharactersConvertedToLowercase() { assertThat(parse("http://ABCD").host).isEqualTo("abcd") assertThat(parse("http://Σ").host).isEqualTo("xn--4xa") } @Test
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 67.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/OpenJSSETest.kt
@BeforeEach fun setUp(server: MockWebServer) { this.server = server platform.assumeOpenJSSE() } @Test fun testTlsv13Works() { enableTls() server.enqueue(MockResponse(body = "abc")) val request = Request(server.url("/")) val response = client.newCall(request).execute() response.use { assertEquals(200, response.code)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 3.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt
.isEqualTo("http://host/#=[]:;%22~%7C?%23@%5E/$%25*") } @Test fun toUriSpecialQueryCharacters() { val httpUrl = "http://host/?d=abc!@[]^`{}|\\".toHttpUrl() val uri = httpUrl.toUri() assertThat(uri.toString()).isEqualTo("http://host/?d=abc!@[]%5E%60%7B%7D%7C%5C") } @Test fun toUriWithUsernameNoPassword() { val httpUrl = HttpUrl.Builder() .scheme("http")
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) -
docs/changelogs/changelog_4x.md
process(part.headers, part.body) } } ``` * New: `MediaType.parameter()` gets a parameter like `boundary` from a media type like `multipart/mixed; boundary="abc"`. * New: `Authenticator.JAVA_NET_AUTHENTICATOR` forwards authentication requests to `java.net.Authenticator`. This obsoletes `JavaNetAuthenticator` in the `okhttp-urlconnection` module.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 17 13:25:31 GMT 2024 - 25.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/MultipartReaderTest.kt
val multipart = """ |--simple boundary | |abcd |--simple boundary | |efgh |--simple boundary-- """.trimMargin() .replace("\n", "\r\n") .replace(Regex("(?m)abcd\r\n"), "abcd\n") val parts = MultipartReader( boundary = "simple boundary",
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 13.8K bytes - Viewed (0)