- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 1,205 for Send (0.02 sec)
-
internal/deadlineconn/deadlineconn_test.go
t.Errorf("failed to read from client. %v", terr) return } received = string(b) if received != "message two\n" { t.Errorf(`server: expected: "message two\n", got: %v`, received) return } // Send a response. _, terr = io.WriteString(deadlineconn, "messages received\n") if terr != nil { t.Errorf("failed to write to client. %v", terr) return } }() c, err := net.Dial("tcp", serverAddr)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Nov 05 18:09:21 UTC 2022 - 3K bytes - Viewed (0) -
docs/features/caching.md
### Conditional Cache Hit When cache flags require checking the cache results are still valid an early cacheConditionalHit event is received followed by a cache hit or miss. Critically in the cache hit scenario the server won’t send the response body. The response will have non-null `cacheResponse` and `networkResponse`. The cacheResponse will be used as the top level response only if the response code is HTTP/1.1 304 Not Modified. - CallStart
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 3.1K bytes - Viewed (0) -
cmd/admin-handlers-idp-config.go
return } if err = validateConfig(ctx, cfg, subSys); err != nil { var validationErr ldap.Validation if errors.As(err, &validationErr) { // If we got an LDAP validation error, we need to send appropriate // error message back to client (likely mc). writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminConfigLDAPValidation), validationErr.FormatError(), r.URL) return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 12.7K bytes - Viewed (0) -
samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.kt
.build(), ) val request = HttpRequest.newBuilder(server.url("/").toUri()) .header("Accept", "text/plain") .build() val response = httpClient.send(request, BodyHandlers.ofString()) assertThat(response.statusCode()).isEqualTo(200) assertThat(response.body()).isEqualTo("hello, Java HTTP Client") val recorded = server.takeRequest()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.7K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck_test.go
assert.Equal(t, 1, len(messages)) expectedOutput := msg.NewUpdateIncompatibility(ObjectToInstance(zipkinSvc), "meshConfig.defaultConfig.tracer", "1.21", "tracing is no longer by default enabled to send to 'zipkin.istio-system.svc'; "+ "follow https://istio.io/latest/docs/tasks/observability/distributed-tracing/telemetry-api/", "1.21") assert.Equal(t, expectedOutput, messages[0]) } func init() {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Jul 09 12:01:22 UTC 2024 - 3.9K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt
if (githubToken.isPresent) { header("Authorization", "token ${githubToken.get()}") } } .build() val response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString()) if (response.statusCode() > 399) { throw RuntimeException("Failed to get pull requests: $uri ${response.statusCode()} ${response.body()}") }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jun 28 08:29:28 UTC 2024 - 5.6K bytes - Viewed (0) -
docs/sts/tls.md
``` ## Example MinIO exposes a custom S3 STS API endpoint as `Action=AssumeRoleWithCertificate`. A client has to send an HTTP `POST` request to `https://<host>:<port>?Action=AssumeRoleWithCertificate&Version=2011-06-15`. Since the authentication and authorization happens via X.509 certificates the client has to send the request over **TLS** and has to provide a client certificate.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 29 04:28:45 UTC 2022 - 6K bytes - Viewed (1) -
istioctl/pkg/xds/client.go
}, }, nil) if err != nil { return nil, fmt.Errorf("could not dial: %w", err) } err = adscConn.Run() if err != nil { return nil, fmt.Errorf("ADSC: failed running %v", err) } err = adscConn.Send(dr) if err != nil { return nil, err } response, err := adscConn.WaitVersion(opts.Timeout, dr.TypeUrl, "") return response, err } // DialOptions constructs gRPC dial options from command line configuration
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Dec 19 22:42:42 UTC 2023 - 3.7K bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver_test.go
assert.Equal(t, len(fds), 1) // in theory we should close the fd, but it's just a test.. assert.Equal(t, m.Payload.(*zdsapi.WorkloadRequest_Add).Add.Uid, uid) // send ack so the server doesn't wait for us. sendAck(ztunClient) // second message should be the snap sent message m, fds = readRequest(t, ztunClient) assert.Equal(t, len(fds), 0)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Apr 12 21:47:31 UTC 2024 - 8.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/WarningResolutionListener.java
*/ package org.apache.maven.artifact.resolver; import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.versioning.VersionRange; import org.codehaus.plexus.logging.Logger; /** * Send resolution warning events to the warning log. * */ @Deprecated public class WarningResolutionListener implements ResolutionListener { private Logger logger; public WarningResolutionListener(Logger logger) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.9K bytes - Viewed (0)