Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,383 for accept (0.04 sec)

  1. docs/uk/docs/tutorial/cors.md

    * `allow_headers` - Список HTTP-заголовків, які підтримуються для міждоменних запитів. За замовчуванням `[]`. Ви можете використовувати `['*']`, щоб дозволити всі заголовки. Заголовки `Accept`, `Accept-Language`, `Content-Language` і `Content-Type` завжди дозволені для <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#simple_requests" class="external-link" rel="noopener" target="_blank">простих CORS-запитів</a>.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 13:34:34 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/CollectorTester.java

              A result(Collector<T, A, R> collector, Iterable<T> inputs) {
            A accum = collector.supplier().get();
            for (T input : inputs) {
              collector.accumulator().accept(accum, input);
            }
            return accum;
          }
        },
        /** Get one accumulator for each element and merge the accumulators left-to-right. */
        MERGE_LEFT_ASSOCIATIVE {
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 15 21:47:56 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

            // First call: reject, Second call: accept
            when(filter.accept(any(SmbResource.class))).thenReturn(false, true);
    
            NetServerFileEntryAdapterIterator itr = new NetServerFileEntryAdapterIterator(parent, delegate, filter);
    
            // Act
            assertTrue(itr.hasNext());
            SmbResource r = itr.next();
    
            // Assert: filter was invoked twice and we got the accepted one
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. okhttp/src/commonTest/kotlin/okhttp3/CompressionInterceptorTest.kt

        val empty = CompressionInterceptor()
        val client =
          clientTestRule
            .newClientBuilder()
            .addInterceptor(empty)
            .addInterceptor { chain ->
              assertThat(chain.request().header("Accept-Encoding")).isNull()
              Response
                .Builder()
                .request(chain.request())
                .protocol(Protocol.HTTP_1_1)
                .code(200)
                .message("OK")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainServerSocketFactory.java

        }
    
        @Override public SocketAddress getLocalSocketAddress() {
          return endpoint;
        }
    
        @Override public Socket accept() throws IOException {
          try {
            UnixSocketChannel channel = serverSocketChannel.accept();
            return new TunnelingUnixSocket(path, channel, endpoint);
          } catch (ClosedChannelException e) {
            SocketException exception = new SocketException();
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Feb 12 16:33:52 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/WinErrorTest.java

                    Arguments.of(WinError.ERROR_ACCESS_DENIED, "Access is denied."),
                    Arguments.of(WinError.ERROR_REQ_NOT_ACCEP,
                            "No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept."),
                    Arguments.of(WinError.ERROR_BAD_PIPE, "The pipe state is invalid."),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessActionAdjustmentProvider.java

            defaultResponseHeaders.forEach(header -> callback.accept(header.getFirst(), header.getSecond()));
            final List<Pair<String, String>> headers = responseHeaderMap.get(mimeType);
            if (headers != null) {
                headers.forEach(header -> callback.accept(header.getFirst(), header.getSecond()));
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

            public void connect(Consumer<HttpURLConnection> actionListener, Consumer<Exception> exceptionListener) {
                try {
                    actionListener.accept(new MockHttpURLConnection(new URL(url)));
                } catch (MalformedURLException e) {
                    exceptionListener.accept(e);
                }
            }
        }
    
        class MockHttpURLConnection extends HttpURLConnection {
    
            MockHttpURLConnection(URL u) {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat May 10 01:44:04 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

                assertNotNull(lockRequest);
            }
    
            @Test
            @DisplayName("Should accept null file ID in constructor")
            void testConstructorWithNullFileId() {
                assertDoesNotThrow(() -> new Smb2LockRequest(mockConfig, null, testLocks));
            }
    
            @Test
            @DisplayName("Should accept empty file ID in constructor")
            void testConstructorWithEmptyFileId() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/NetServerEnumIteratorTest.java

            // Given: A filter that rejects everything
            when(locator.getType()).thenReturn(SmbConstants.TYPE_WORKGROUP);
            when(locator.getURL()).thenReturn(createSmbURL("smb://"));
            when(nameFilter.accept(any(SmbResource.class), anyString())).thenReturn(false);
    
            // Mock response with one entry
            when(treeHandle.send(any(), any(), (RequestParam[]) any())).thenAnswer(invocation -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
Back to top