Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 601 - 610 of 1,732 for responses (0.06 seconds)

  1. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

            assertEquals(0, response.writeDataWireFormat(null, 0));
    
            // Read methods return 0 without accessing null buffer
            assertEquals(0, response.readSetupWireFormat(null, 0, 0));
            assertEquals(0, response.readParametersWireFormat(null, 0, 0));
            assertEquals(0, response.readDataWireFormat(null, 0, 0));
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  2. docs/ja/docs/advanced/response-change-status-code.md

    # レスポンス - ステータスコードの変更 { #response-change-status-code }
    
    すでに、デフォルトの[レスポンスのステータスコード](../tutorial/response-status-code.md)を設定できることをご存知かもしれません。
    
    しかし場合によっては、デフォルトとは異なるステータスコードを返す必要があります。
    
    ## ユースケース { #use-case }
    
    たとえば、デフォルトでは HTTP ステータスコード "OK" `200` を返したいとします。
    
    しかし、データが存在しなければそれを作成し、HTTP ステータスコード "CREATED" `201` を返したい。
    
    それでも、返すデータは `response_model` でフィルタ・変換できるようにしておきたい。
    
    そのような場合は `Response` パラメータを使えます。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 2K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

        )
        val call1 =
          client.newCall(
            Request
              .Builder()
              .url(server.url("/"))
              .build(),
          )
        val response1 = call1.execute()
        assertThat(response1.body.string()).isEqualTo("abc")
        response1.close()
    
        // Force a fresh connection for the next request.
        client.connectionPool.evictAll()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 24.4K bytes
    - Click Count (2)
  4. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java

            int result2 = response2.readDataWireFormat(buffer, 20, sourceData.length);
            assertEquals(sourceData.length, result2);
    
            // Test with offset near end
            byte[] outputBuffer3 = new byte[1024];
            TransCallNamedPipeResponse response3 = new TransCallNamedPipeResponse(mockConfig, outputBuffer3);
            System.arraycopy(sourceData, 0, buffer, 45, sourceData.length);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  5. docs/en/docs/reference/response.md

    # `Response` class
    
    You can declare a parameter in a *path operation function* or dependency to be of type `Response` and then you can set data for the response like headers or cookies.
    
    You can also use it directly to create an instance of it and return it from your *path operations*.
    
    Read more about it in the [FastAPI docs about returning a custom Response](https://fastapi.tiangolo.com/advanced/response-directly/#returning-a-custom-response)
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 12:41:54 GMT 2026
    - 559 bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        server.enqueue(MockResponse(body = "response that will never be received"))
        val response = executeSynchronously("/")
        response.assertFailure(
          // JDK 11 response to the FAIL_HANDSHAKE:
          SSLException::class.java,
          // RI response to the FAIL_HANDSHAKE:
          SSLProtocolException::class.java,
          // Android's response to the FAIL_HANDSHAKE:
          SSLHandshakeException::class.java,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 146.5K bytes
    - Click Count (0)
  7. CHANGELOG/CHANGELOG-1.27.md

    - Resolves a spurious "Unknown discovery response content-type" error in client-go discovery requests by tolerating extra content-type parameters in API responses ([#117637](https://github.com/kubernetes/kubernetes/pull/117637), [@seans3](https://github.com/seans3)) [SIG API Machinery]
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Wed Jul 17 07:48:22 GMT 2024
    - 466.3K bytes
    - Click Count (2)
  8. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                // When & Then
                assertEquals(0, response.writeBytesWireFormat(dst, 0));
                assertEquals(0, response.writeBytesWireFormat(dst, 25));
                assertEquals(0, response.writeBytesWireFormat(dst, 50));
                assertEquals(0, response.writeBytesWireFormat(dst, 75));
                assertEquals(0, response.writeBytesWireFormat(dst, 99));
            }
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  9. docs/fr/docs/tutorial/response-model.md

    Et les outils seront également satisfaits car `RedirectResponse` et `JSONResponse` sont des sous-classes de `Response`, donc l'annotation de type est correcte.
    
    ### Annoter une sous-classe de Response { #annotate-a-response-subclass }
    
    Vous pouvez aussi utiliser une sous-classe de `Response` dans l'annotation de type :
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 18.1K bytes
    - Click Count (0)
  10. docs/uk/docs/tutorial/response-model.md

    І інструменти також будуть задоволені, бо і `RedirectResponse`, і `JSONResponse` є підкласами `Response`, отже анотація типу коректна.
    
    ### Анотувати підклас Response { #annotate-a-response-subclass }
    
    Ви також можете використати підклас `Response` в анотації типу:
    
    {* ../../docs_src/response_model/tutorial003_03_py310.py hl[8:9] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 25.2K bytes
    - Click Count (0)
Back to Top