Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 1,772 for request (0.09 sec)

  1. okhttp-android/src/androidTest/kotlin/okhttp3/android/AndroidAsyncDnsTest.kt

      fun testRequest() {
        serverRule.server.enqueue(MockResponse())
    
        val call = client.newCall(Request(serverRule.server.url("/")))
    
        call.execute().use { response ->
          assertThat(response.code).isEqualTo(200)
        }
      }
    
      @Test
      fun testRequestExternal() {
        assumeNetwork()
    
        val call = client.newCall(Request("https://google.com/robots.txt".toHttpUrl()))
    
        call.execute().use { response ->
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    		hip.forceStart = true
    	}
    	if _, ok := qParams[mgmtForceStop]; ok {
    		hip.forceStop = true
    	}
    
    	// Invalid request conditions:
    	//
    	//   Cannot have both forceStart and forceStop in the same
    	//   request; If clientToken is provided, request can only be
    	//   to continue receiving logs, so it cannot be start or
    	//   stop;
    	if (hip.forceStart && hip.forceStop) ||
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

                            return processCallback(request, code);
                        }
                    }
                }
    
                return new ActionResponseCredential(() -> HtmlResponse.fromRedirectPathAsIs(getAuthUrl(request)));
            }).orElse(null);
        }
    
        protected String getAuthUrl(final HttpServletRequest request) {
            final String state = UuidUtil.create();
            request.getSession().setAttribute(OIC_STATE, state);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. fastapi/dependencies/utils.py

        if dependant.http_connection_param_name:
            values[dependant.http_connection_param_name] = request
        if dependant.request_param_name and isinstance(request, Request):
            values[dependant.request_param_name] = request
        elif dependant.websocket_param_name and isinstance(request, WebSocket):
            values[dependant.websocket_param_name] = request
        if dependant.background_tasks_param_name:
            if background_tasks is None:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 21:46:26 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  5. docs/contribute/concurrency.md

     * **RealConnection** is the socket and streams of an HTTP/1 or HTTP/2 connection. These are created on demand to fulfill HTTP requests. They may be reused for many HTTP request/response exchanges. Their lifetime is typically shorter than a connection pool.
    
     * **Exchange** carries a single HTTP request/response pair.
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 7K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

                    return retrieve(request.getArtifact(), request.getLocalRepository(), request.getRemoteRepositories());
                }
    
                @Override
                public List<ArtifactVersion> retrieveAvailableVersions(MetadataResolutionRequest request) {
                    return retrieveAvailableVersions(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGeneratorFactory.java

        @Override
        public MetadataGenerator newInstance(RepositorySystemSession session, InstallRequest request) {
            return new PluginsMetadataGenerator(session, request);
        }
    
        @Override
        public MetadataGenerator newInstance(RepositorySystemSession session, DeployRequest request) {
            return new PluginsMetadataGenerator(session, request);
        }
    
        @Override
        public float getPriority() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/SnapshotMetadataGeneratorFactory.java

        public MetadataGenerator newInstance(RepositorySystemSession session, InstallRequest request) {
            return new LocalSnapshotMetadataGenerator(session, request);
        }
    
        @Override
        public MetadataGenerator newInstance(RepositorySystemSession session, DeployRequest request) {
            return new RemoteSnapshotMetadataGenerator(session, request);
        }
    
        @Override
        public float getPriority() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadataGeneratorFactory.java

        @Override
        public MetadataGenerator newInstance(RepositorySystemSession session, InstallRequest request) {
            return new VersionsMetadataGenerator(session, request);
        }
    
        @Override
        public MetadataGenerator newInstance(RepositorySystemSession session, DeployRequest request) {
            return new VersionsMetadataGenerator(session, request);
        }
    
        @Override
        public float getPriority() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/kt/PostStreaming.kt

                if (x * i == n) return "${factor(x)} × $i"
              }
              return n.toString()
            }
          }
    
        val request =
          Request(
            url = "https://api.github.com/markdown/raw".toHttpUrl(),
            body = requestBody,
          )
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          println(response.body.string())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top