Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1431 - 1440 of 1,943 for Responses (0.06 seconds)

  1. fastapi/.agents/skills/fastapi/SKILL.md

    app = FastAPI()
    
    
    @app.post("/items/")
    async def create_item(item: Item, project_id: Annotated[int, Query(...)]): ...
    ```
    
    ## Return Type or Response Model
    
    When possible, include a return type. It will be used to validate, filter, document, and serialize the response.
    
    ```python
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/http/NtlmSsp.java

         * for the specified servlet request.
         *
         * @param tc the CIFS context to use
         *
         * @param req
         *            The request being serviced.
         * @param resp
         *            The response.
         * @param challenge
         *            The domain controller challenge.
         * @return credentials passed in the servlet request
         * @throws IOException
         *             If an IO error occurs.
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt

      }
    
      private fun executeSynchronously(request: Request): RecordedResponse {
        val call = client.newCall(request)
        return try {
          val response = call.execute()
          val bodyString = response.body.string()
          RecordedResponse(request, response, null, bodyString, null)
        } catch (e: IOException) {
          RecordedResponse(request, null, null, null, e)
        }
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jan 10 15:25:06 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/SocketFailureTest.kt

        server.start()
    
        val call1 =
          client.newCall(
            Request
              .Builder()
              .url(server.url("/"))
              .build(),
          )
        call1.execute().use { response -> response.body.string() }
    
        listener.shouldClose = true
        // Large headers are a likely reason the servers would cut off the connection before it completes sending
        // request headers.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jul 29 21:11:09 GMT 2025
    - 3K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/witness/WitnessHeartbeatResponse.java

     */
    package jcifs.internal.witness;
    
    /**
     * Represents a witness heartbeat response as defined in MS-SWN specification.
     * Contains the result of a witness heartbeat request.
     */
    public class WitnessHeartbeatResponse {
        /**
         * Creates a new witness heartbeat response.
         */
        public WitnessHeartbeatResponse() {
            // Default constructor
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 3K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/witness/WitnessRegisterResponse.java

     */
    package jcifs.internal.witness;
    
    /**
     * Represents a witness registration response as defined in MS-SWN specification.
     * Contains the result of a witness registration request.
     */
    public class WitnessRegisterResponse {
        /**
         * Creates a new witness register response.
         */
        public WitnessRegisterResponse() {
            // Default constructor
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  7. internal/http/transports.go

    	// 		// connection. 5 minutes is sufficient time for any idle connection.
    	// 		trhttp2.ReadIdleTimeout = 5 * time.Minute
    	// 		// PingTimeout is the timeout after which the connection will be closed
    	// 		// if a response to Ping is not received.
    	// 		trhttp2.PingTimeout = dialTimeout
    	// 		// DisableCompression, if true, prevents the Transport from
    	// 		// requesting compression with an "Accept-Encoding: gzip"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 08 17:51:53 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

         */
        @Override
        public Logger getLogger() {
            return logger;
        }
    
        /**
         * Stores parsed data from response into result data.
         * Processes HTML content using XPath expressions and handles robots tags.
         *
         * @param responseData the response data from crawling
         * @param resultData the result data to store processed information
         */
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 55.3K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/llm/LlmMessageTest.java

        }
    
        @Test
        public void test_assistantFactory() {
            final LlmMessage message = LlmMessage.assistant("Assistant response");
            assertEquals(LlmMessage.ROLE_ASSISTANT, message.getRole());
            assertEquals("Assistant response", message.getContent());
        }
    
        @Test
        public void test_settersAndGetters() {
            final LlmMessage message = new LlmMessage();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/header-param-models.md

    {* ../../docs_src/header_param_models/tutorial002_an_py310.py hl[10] *}
    
    If a client tries to send some **extra headers**, they will receive an **error** response.
    
    For example, if the client tries to send a `tool` header with a value of `plumbus`, they will receive an **error** response telling them that the header parameter `tool` is not allowed:
    
    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 2.6K bytes
    - Click Count (0)
Back to Top