- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,190 for html_2 (0.06 sec)
-
okhttp/src/test/java/okhttp3/ConscryptTest.kt
assertThat(it.protocol).isEqualTo(Protocol.HTTP_2) assertThat(it.handshake!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3) } } @Test @Disabled fun testGoogle() { assumeNetwork() val request = Request.Builder().url("https://google.com/robots.txt").build() client.newCall(request).execute().use { assertThat(it.protocol).isEqualTo(Protocol.HTTP_2)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/EventListenerTest.kt
} } } @Test fun successfulEmptyH2CallEventSequence() { enableTlsWithTunnel() server.protocols = Arrays.asList(Protocol.HTTP_2, Protocol.HTTP_1_1) server.enqueue(MockResponse()) assertSuccessfulEventOrder(matchesProtocol(Protocol.HTTP_2)) assertBytesReadWritten( listener, CoreMatchers.any(Long::class.java), null, greaterThan(0L),
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 56.9K bytes - Viewed (2) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
url = server.url("/") setLevel(Level.BASIC) server.enqueue(MockResponse()) val response = client.newCall(request().build()).execute() Assumptions.assumeTrue(response.protocol == Protocol.HTTP_2) applicationLogs .assertLogEqual("--> GET $url") .assertLogMatch(Regex("""<-- 200 $url \(\d+ms, 0-byte body\)""")) .assertNoMoreLogs() networkLogs .assertLogEqual("--> GET $url h2")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 06 09:14:38 UTC 2024 - 37.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ServerTruncatesRequestTest.kt
} @Test fun serverTruncatesRequestOnLongPostHttp1() { serverTruncatesRequestOnLongPost(https = false) } @Test fun serverTruncatesRequestOnLongPostHttp2() { enableProtocol(Protocol.HTTP_2) serverTruncatesRequestOnLongPost(https = true) } private fun serverTruncatesRequestOnLongPost(https: Boolean) { server.enqueue( MockResponse( body = "abc",
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.5K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt
.header("Host", "cloudflare-dns.com") .build() client.newCall(request).execute().use { response -> assertThat(response.code).isEqualTo(200) assertThat(response.protocol).isEqualTo(Protocol.HTTP_2) assertThat(response.body.string()).contains("h=cloudflare-dns.com") } } @Test fun getWithDns() { client = client.newBuilder() .dns {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.6K bytes - Viewed (0) -
doc/godebug.md
serial numbers that are negative. This change can be reverted with the [`x509negativeserial` setting](/pkg/crypto/x509/#ParseCertificate). Go 1.23 re-enabled support in html/template for ECMAScript 6 template literals by default. The [`jstmpllitinterp` setting](/pkg/html/template#hdr-Security_Model) no longer has any effect. Go 1.23 changed the default TLS cipher suites used by clients and servers when
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Oct 28 14:46:33 UTC 2024 - 17.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/OpenJSSETest.kt
val response = client.newCall(request).execute() response.use { assertEquals(200, response.code) assertEquals(TlsVersion.TLS_1_3, response.handshake?.tlsVersion) assertEquals(Protocol.HTTP_2, response.protocol) assertThat(response.exchangeAccessor!!.connectionAccessor.socket()) .isInstanceOf<SSLSocketImpl>() } } @Test fun testSupportedProtocols() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 3.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
server.enqueue(MockResponse(code = 500)) executeSynchronously("/") .assertCode(500) .assertNotSuccessful() } @Test fun get_HTTP_2() { enableProtocol(Protocol.HTTP_2) get() } @Test fun get_HTTPS() { enableTls() get() } @Test fun repeatedHeaderNames() { server.enqueue( MockResponse( headers =
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 142.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java
assertEquals("http://hoge/index.html", htmlTransformer.normalizeUrl(url)); url = "http://hoge/index.html;jsessionid=hoge?a=1"; assertEquals("http://hoge/index.html?a=1", htmlTransformer.normalizeUrl(url)); url = "http://hoge/index.html;jsessionid=hoge.fuga?a=1"; assertEquals("http://hoge/index.html?a=1", htmlTransformer.normalizeUrl(url));
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 13.8K bytes - Viewed (0) -
compat/maven-model-builder/src/site/apt/index.apt
** profile injection: <<<ProfileInjector>>> ({{{./apidocs/org/apache/maven/model/profile/ProfileInjector.html}javadoc}}), with its <<<DefaultProfileInjector>>> implementation ({{{./xref/org/apache/maven/model/profile/DefaultProfileInjector.html}source}}) ** parent resolution until {{{./super-pom.html}super-pom}} ** inheritance assembly (see {{{./index.html#Inheritance_Assembly}below}})
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.2K bytes - Viewed (0)