Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 581 - 590 of 1,644 for Request (0.06 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/SessionReuseTest.kt

            .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)
        }
    
        client.connectionPool.evictAll()
        assertEquals(0, client.connectionPool.connectionCount())
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 5.9K bytes
    - Click Count (1)
  2. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java

            DefaultSettingsProblemCollector problems = new DefaultSettingsProblemCollector(null);
    
            Source globalSettingsSource =
                    getSettingsSource(request.getGlobalSettingsFile(), request.getGlobalSettingsSource());
            Settings globalSettings = readSettings(globalSettingsSource, request, problems);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  3. samples/simple-client/src/main/java/okhttp3/sample/OkHttpContributors.java

        OkHttpClient client = new OkHttpClient();
    
        // Create request for remote resource.
        Request request = new Request.Builder()
            .url(ENDPOINT)
            .build();
    
        // Execute the request and retrieve the response.
        try (Response response = client.newCall(request).execute()) {
          // Deserialize HTTP response to concrete type.
          ResponseBody body = response.body();
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/plugin/version/DefaultPluginVersionRequest.java

        private List<RemoteRepository> repositories = Collections.emptyList();
    
        private RepositorySystemSession session;
    
        /**
         * Creates an empty request.
         */
        public DefaultPluginVersionRequest() {}
    
        /**
         * Creates a request for the specified plugin by copying settings from the specified build session. If the session
         * has a current project, its plugin repositories will be used as well.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  5. okhttp-brotli/src/test/java/okhttp3/brotli/BrotliTestMain.kt

    import okhttp3.OkHttpClient
    import okhttp3.Request
    
    fun main() {
      val client =
        OkHttpClient
          .Builder()
          .addInterceptor(BrotliInterceptor)
          .build()
    
      sendRequest("https://httpbin.org/brotli", client)
      sendRequest("https://httpbin.org/gzip", client)
    }
    
    private fun sendRequest(
      url: String,
      client: OkHttpClient,
    ) {
      val req = Request.Builder().url(url).build()
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.1K bytes
    - Click Count (1)
  6. cmd/generic-handlers_contrib.go

     * limitations under the License.
     */
    
    package cmd
    
    import (
    	"net/http"
    	"strings"
    )
    
    // guessIsLoginSTSReq - returns true if incoming request is Login STS user
    func guessIsLoginSTSReq(req *http.Request) bool {
    	if req == nil {
    		return false
    	}
    	return strings.HasPrefix(req.URL.Path, loginPathPrefix) ||
    		(req.Method == http.MethodPost && req.URL.Path == SlashSeparator &&
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Apr 30 15:50:39 GMT 2021
    - 995 bytes
    - Click Count (0)
  7. docs/es/llm-prompt.md

    * autocomplete: autocompletado
    * completion (in the context of autocompletion): autocompletado
    * feature: funcionalidad
    * sponsor: sponsor
    * host (in a podcast): host
    * request (as in HTTP request): request
    * response (as in HTTP response): response
    * path operation function: path operation function (do not translate to "función de operación de ruta")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/java/org/apache/maven/project/RepositoryLeakageTest.java

                */
    
                // The shared request should not accumulate repositories from both children
                if (sharedRequestHasChild1Repo && sharedRequestHasChild2Repo) {
                    fail("REPOSITORY LEAKAGE DETECTED: Shared request contains repositories from both children!");
                }
    
            } finally {
                // Clean up
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  9. fastapi/param_functions.py

            Doc(
                """
                By default, after a dependency is called the first time in a request, if
                the dependency is declared again for the rest of the request (for example
                if the dependency is needed by several dependencies), the value will be
                re-used for the rest of the request.
    
                Set `use_cache` to `False` to disable this behavior and ensure the
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 63K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

            /**
             * Sets the Maven session for this request.
             *
             * @param session the Maven session
             * @return this builder instance
             */
            public ProjectBuilderRequestBuilder session(Session session) {
                this.session = session;
                return this;
            }
    
            /**
             * Sets the request trace for this request.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 11.7K bytes
    - Click Count (0)
Back to Top