- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 66 for http2client (0.3 sec)
-
src/internal/godebugs/table.go
{Name: "gocachehash", Package: "cmd/go"}, {Name: "gocachetest", Package: "cmd/go"}, {Name: "gocacheverify", Package: "cmd/go"}, {Name: "gotypesalias", Package: "go/types", Changed: 23, Old: "0"}, {Name: "http2client", Package: "net/http"}, {Name: "http2debug", Package: "net/http", Opaque: true}, {Name: "http2server", Package: "net/http"}, {Name: "httplaxcontentlength", Package: "net/http", Changed: 22, Old: "1"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:58:43 UTC 2024 - 3.6K bytes - Viewed (0) -
src/net/http/doc.go
can do so by setting [Transport.TLSNextProto] (for clients) or [Server.TLSNextProto] (for servers) to a non-nil, empty map. Alternatively, the following GODEBUG settings are currently supported: GODEBUG=http2client=0 # disable HTTP/2 client support GODEBUG=http2server=0 # disable HTTP/2 server support GODEBUG=http2debug=1 # enable verbose HTTP/2 debug logs GODEBUG=http2debug=2 # ... even more verbose, with frame dumps
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 3.4K bytes - Viewed (0) -
src/internal/godebug/godebug_test.go
got := tt.setting.Value() if got != tt.want { t.Errorf("get(%q, %q) = %q; want %q", tt.godebug, tt.setting.Name(), got, tt.want) } } } func TestMetrics(t *testing.T) { const name = "http2client" // must be a real name so runtime will accept it var m [1]metrics.Sample m[0].Name = "/godebug/non-default-behavior/" + name + ":events" metrics.Read(m[:]) if kind := m[0].Value.Kind(); kind != metrics.KindUint64 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 4K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientTest.kt
private var httpClient = HttpClients.createDefault() @After fun tearDown() { httpClient.close() } @Test fun get() { val request = HttpGet("https://google.com/robots.txt") httpClient.execute(request).use { response -> assertEquals(200, response.code) // TODO enable ALPN later assertEquals(HttpVersion.HTTP_1_1, response.version) } }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.5K bytes - Viewed (0) -
samples/compare/src/test/kotlin/okhttp3/compare/ApacheHttpClientTest.kt
*/ class ApacheHttpClientTest { private val httpClient = HttpClients.createDefault() @AfterEach fun tearDown() { httpClient.close() } @Test fun get(server: MockWebServer) { server.enqueue( MockResponse.Builder() .body("hello, Apache HttpClient 5.x") .build(), ) val request = HttpGet(server.url("/").toUri()) request.addHeader("Accept", "text/plain")
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.1K bytes - Viewed (0) -
samples/jwt-server/src/main_test.go
// Start the test server on random port. go server.runHTTP("localhost:0") // Prepare the HTTP request. httpClient := &http.Client{} httpReq, err := http.NewRequest(http.MethodGet, fmt.Sprintf("http://localhost:%d/jwtkeys", <-server.httpPort), nil) if err != nil { t.Fatalf(err.Error()) } resp, err := httpClient.Do(httpReq) if err != nil { t.Fatalf(err.Error()) } defer resp.Body.Close()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 23 16:58:02 UTC 2023 - 2.2K bytes - Viewed (0) -
regression-test/build.gradle.kts
sourceCompatibility(JavaVersion.VERSION_11) } kotlinOptions { jvmTarget = JavaVersion.VERSION_11.toString() } // issue merging due to conflict with httpclient and something else packagingOptions.resources.excludes += setOf( "META-INF/DEPENDENCIES" ) } dependencies { val okhttpLegacyVersion = "3.12.12" implementation(libs.kotlin.reflect)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Dec 23 14:46:51 UTC 2023 - 1.6K bytes - Viewed (0) -
android-test/build.gradle.kts
} testOptions { targetSdk = 34 } kotlinOptions { jvmTarget = JavaVersion.VERSION_11.toString() } // 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" ) }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java
assertEquals(".*index\\.html$", httpClient.convertRobotsTxtPathPattern("index.html$")); assertEquals("/\\..*", httpClient.convertRobotsTxtPathPattern("/.")); assertEquals("/.*", httpClient.convertRobotsTxtPathPattern("/*")); assertEquals(".*\\..*", httpClient.convertRobotsTxtPathPattern(".")); assertEquals(".*", httpClient.convertRobotsTxtPathPattern("*")); }
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu May 09 09:28:25 UTC 2024 - 8.8K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/publishing/javaLibrary/groovy/src/main/java/org/gradle/HttpClientWrapper.java
import org.apache.commons.httpclient.*; import org.apache.commons.httpclient.methods.*; import org.apache.commons.lang3.exception.ExceptionUtils; import java.io.IOException; import java.io.UnsupportedEncodingException; public class HttpClientWrapper { private final HttpClient client; // private member: implementation details // HttpClient is used as a parameter of a public method
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.4K bytes - Viewed (0)