Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for honor (0.03 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt

        responseCode != HTTP_NOT_MODIFIED
      ) {
        return true
      }
    
      // If the Content-Length or Transfer-Encoding headers disagree with the response code, the
      // response is malformed. For best compatibility, we honor the headers.
      if (headersContentLength() != -1L ||
        "chunked".equals(header("Transfer-Encoding"), ignoreCase = true)
      ) {
        return true
      }
    
      return false
    }
    
    @Deprecated(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

                while (true) {
                  OverflowAvoidingLockSupport.parkNanos(this, remainingNanos);
                  // Check interruption first, if we woke up due to interruption we need to honor that.
                  if (Thread.interrupted()) {
                    removeWaiter(node);
                    throw new InterruptedException();
                  }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

                while (true) {
                  OverflowAvoidingLockSupport.parkNanos(this, remainingNanos);
                  // Check interruption first, if we woke up due to interruption we need to honor that.
                  if (Thread.interrupted()) {
                    removeWaiter(node);
                    throw new InterruptedException();
                  }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  4. CHANGELOG.md

     *  New: `OkHttpClient.webSocketCloseTimeout` configures how long a web socket connection will wait
        for a graceful shutdown before it performs an abrupt shutdown.
    
     *  Fix: Honor `RequestBody.isOneShot()` in `MultipartBody`
    
     *  Fix in `okhttp-coroutines`: Don't leak response bodies in `executeAsync()`. We had a bug where
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 31.6K bytes
    - Viewed (1)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

              }
            }
          }
        }
    
        override fun priority(
          streamId: Int,
          streamDependency: Int,
          weight: Int,
          exclusive: Boolean,
        ) {
          // TODO: honor priority.
        }
    
        override fun pushPromise(
          streamId: Int,
          promisedStreamId: Int,
          requestHeaders: List<Header>,
        ) {
          pushRequestLater(promisedStreamId, requestHeaders)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  6. docs/recipes.md

    instances will stomp on each other, corrupt the response cache, and possibly crash your program.
    
    Response caching uses HTTP headers for all configuration. You can add request headers like `Cache-Control: max-stale=3600` and OkHttp's cache will honor them. Your webserver configures how long responses are cached with its own response headers, like `Cache-Control: max-age=9600`. There are cache headers to force a cached response, force a network response, or force the network response to be validated...
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

        val request = server.takeRequest()
        assertThat(request.body?.utf8()).isEqualTo("ABC")
      }
    
      @Test
      fun connectionCloseInRequest() {
        server.enqueue(MockResponse()) // Server doesn't honor the connection: close header!
        server.enqueue(MockResponse())
        val a =
          getResponse(
            Request
              .Builder()
              .url(server.url("/"))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.29.md

    - In a scheduler with `Permit` plugins, when a Pod is rejected during `WaitOnPermit`, the scheduler records the plugin.
      The scheduler will use the record to honor cluster events and queueing `hints registered` for the plugin, to inform whether to retry the pod. ([#119785](https://github.com/kubernetes/kubernetes/pull/119785), [@sanposhiho](https://github.com/sanposhiho))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Mar 12 00:36:01 UTC 2025
    - 429.6K bytes
    - Viewed (1)
  9. src/test/java/jcifs/smb1/smb1/AllocInfoTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Tests for the {@link AllocInfo} interface.
     * Since {@code AllocInfo} only declares getters, the tests focus on
     * verifying that implementations honour the contract.
     */
    @ExtendWith(MockitoExtension.class)
    public class AllocInfoTest {
    
        @Mock
        AllocInfo mockAllocInfo;
    
        /**
         * Happy path – verifies that getters return the values supplied by the
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java

    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for {@link SmbFileFilter}. The filter interface is small; the
     * tests focus on the contract that implementations should honour and the
     * interaction with {@link SmbFile} instances. The tests make heavy use of
     * Mockito to guarantee that implementation classes do not inadvertently
     * bypass the filter logic.
     */
    public class SmbFileFilterTest {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
Back to top