Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1511 - 1520 of 1,685 for Response_ (0.06 sec)

  1. docs/zh/docs/tutorial/background-tasks.md

    通过仅使用 `BackgroundTasks` (而不是 `BackgroundTask`),使得能将它作为 *路径操作函数* 的参数 ,并让**FastAPI**为您处理其余部分, 就像直接使用 `Request` 对象。
    
    在FastAPI中仍然可以单独使用 `BackgroundTask`,但您必须在代码中创建对象,并返回包含它的Starlette `Response`。
    
    更多细节查看 <a href="https://www.starlette.dev/background/" class="external-link" target="_blank">Starlette's official docs for Background Tasks</a>.
    
    ## 告诫
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. cmd/signature-v2_test.go

    				"AWSAccessKeyId": accessKey,
    			},
    			expected: ErrSignatureDoesNotMatch,
    		},
    		// (6) Should not error signature matches with extra query params.
    		{
    			queryParams: map[string]string{
    				"response-content-disposition": "attachment; filename=\"4K%2d4M.txt\"",
    			},
    			expected: ErrNone,
    		},
    		// (7) Should not error signature matches with no special query params.
    		{
    			queryParams: map[string]string{},
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

            };
    
            // Test with timeout set
            client.setAccessTimeout(10);
            try {
                ResponseData result = client.doGet("ftp://localhost/test.txt");
                assertNotNull("Response should not be null", result);
                assertEquals(200, result.getHttpStatusCode());
            } catch (Exception e) {
                fail("Should not throw exception: " + e.getMessage());
            }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/NameServiceClient.java

        /**
         * Retrieves the node status information for the specified NetBIOS address.
         *
         * @param nbtAddress the NetBIOS address to query
         * @return the node status responses
         * @throws UnknownHostException if the node status cannot be retrieved
         */
        NetbiosAddress[] getNodeStatus(NetbiosAddress nbtAddress) throws UnknownHostException;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

            writeTimeoutMillis = client.writeTimeoutMillis,
          )
    
        var calledNoMoreExchanges = false
        try {
          val response = chain.proceed(originalRequest)
          if (isCanceled()) {
            response.closeQuietly()
            throw IOException("Canceled")
          }
          return response
        } catch (e: IOException) {
          calledNoMoreExchanges = true
          throw noMoreExchanges(e) as Throwable
        } finally {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  6. internal/s3select/message.go

    	payloadLength := messageLength - 4 - 4 - 4 - headerLength - 4
    	return payloadLength
    }
    
    // continuationMessage - S3 periodically sends this message to keep the TCP connection open.
    // These messages appear in responses at random. The client must detect the message type and process accordingly.
    //
    // Header specification:
    // Continuation messages contain two headers, as follows:
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/background-tasks.md

    Ainda é possível usar `BackgroundTask` sozinho no FastAPI, mas você precisa criar o objeto no seu código e retornar uma `Response` da Starlette incluindo-o.
    
    Você pode ver mais detalhes na <a href="https://www.starlette.dev/background/" class="external-link" target="_blank">documentação oficial da Starlette para tarefas em segundo plano</a>.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

            final DeleteRequestBuilder mockDeleteBuilder = mock(DeleteRequestBuilder.class);
    
            final ClearScrollRequestBuilder mockClearScrollBuilder = mock(ClearScrollRequestBuilder.class);
    
            // Setup search response with one hit
            when(mockClient.prepareSearch("test-index")).thenReturn(mockSearchBuilder);
            when(mockSearchBuilder.setScroll(any(Scroll.class))).thenReturn(mockSearchBuilder);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:44:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/DcerpcHandle.java

        /**
         * Sends a DCERPC fragment and receives the response in a single operation
         * @param out the outgoing buffer containing the request
         * @param off the offset into the outgoing buffer
         * @param length the length of data to send
         * @param inB the buffer to receive the response
         * @return the number of bytes received
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbTransportImplTest.java

        }
    
        @Test
        @DisplayName("SMB version detection via flag or response type")
        void isSMB2_variants() throws Exception {
            // 1) smb2 flag set
            setField(transport, "smb2", true);
            assertTrue(transport.isSMB2());
    
            // 2) smb2 false but negotiated is SMB2 response
            setField(transport, "smb2", false);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top