Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 266 for HELLO (0.27 sec)

  1. docs/ko/docs/advanced/custom-response.md

    {* ../../docs_src/custom_response/tutorial009c.py hl[9:14,17] *}
    
    이제 다음 대신:
    
    ```json
    {"message": "Hello World"}
    ```
    
    이 응답은 이렇게 반환됩니다:
    
    ```json
    {
      "message": "Hello World"
    }
    ```
    
    물론 JSON 포맷팅보다 더 유용하게 활용할 방법을 찾을 수 있을 것입니다. 😉
    
    ## 기본 응답 클래스
    
    **FastAPI** 클래스 객체 또는 `APIRouter`를 생성할 때 기본적으로 사용할 응답 클래스를 지정할 수 있습니다.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Feb 15 11:21:20 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

    import okio.GzipSource
    import okio.buffer
    import okio.use
    import org.junit.jupiter.api.Test
    
    class RequestTest {
      @Test
      fun constructor() {
        val url = "https://example.com/".toHttpUrl()
        val body = "hello".toRequestBody()
        val headers = headersOf("User-Agent", "RequestTest")
        val method = "PUT"
        val request =
          Request(
            url = url,
            headers = headers,
            method = method,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 19K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/transport/TransportTest.java

            void shouldReadSpecifiedBytes() throws IOException {
                byte[] data = "Hello World Test".getBytes();
                InputStream is = new ByteArrayInputStream(data);
                byte[] buffer = new byte[20];
    
                int bytesRead = Transport.readn(is, buffer, 0, 5);
                assertEquals(5, bytesRead);
                assertArrayEquals("Hello".getBytes(), java.util.Arrays.copyOfRange(buffer, 0, 5));
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  4. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java

        server.setServerSocketFactory(new UnixDomainServerSocketFactory(socketFile));
        server.setProtocols(Collections.singletonList(Protocol.H2_PRIOR_KNOWLEDGE));
        server.enqueue(new MockResponse().setBody("hello"));
        server.start();
    
        OkHttpClient client = new OkHttpClient.Builder()
            .socketFactory(new UnixDomainSocketFactory(socketFile))
            .protocols(Collections.singletonList(Protocol.H2_PRIOR_KNOWLEDGE))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Dec 24 03:46:30 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/custom-response.md

    {* ../../docs_src/custom_response/tutorial009c.py hl[9:14,17] *}
    
    Now instead of returning:
    
    ```json
    {"message": "Hello World"}
    ```
    
    ...this response will return:
    
    ```json
    {
      "message": "Hello World"
    }
    ```
    
    Of course, you will probably find much better ways to take advantage of this than formatting JSON. 😉
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

            InvertibleCryptographer cryptographer = securityResourceProvider.providePrimaryInvertibleCryptographer();
            assertNotNull(cryptographer);
    
            String plainText = "Hello, World!";
            String encrypted = cryptographer.encrypt(plainText);
            assertNotNull(encrypted);
            assertFalse(plainText.equals(encrypted));
    
            String decrypted = cryptographer.decrypt(encrypted);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java

     * expected to be unequal. For example:
     *
     * {@snippet :
     * EquivalenceTester.of(someStringEquivalence)
     *     .addEquivalenceGroup("hello", "h" + "ello")
     *     .addEquivalenceGroup("world", "wor" + "ld")
     *     .test();
     * }
     *
     * <p>Note that testing {@link Object#equals(Object)} is more simply done using the {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        assertThat(headersToList(response)).containsExactly("Cookie: a=android")
      }
    
      @Test
      fun regularResponse() {
        server.enqueue(MockResponse().setBody("hello world"))
        val url = server.url("/").toUrl()
        val connection = url.openConnection() as HttpURLConnection
        connection.setRequestProperty("Accept-Language", "en-US")
        val inputStream = connection.inputStream
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  9. docs/bucket/replication/test_del_marker_proxying.sh

    ./mc replicate add sitea/bucket --remote-bucket siteb/bucket
    
    # Run the test to make sure proxying of DEL marker doesn't happen
    loop_count=0
    while true; do
    	if [ $loop_count -eq 1000 ]; then
    		break
    	fi
    	echo "Hello World" | ./mc pipe sitea/bucket/obj$loop_count
    	./mc rm sitea/bucket/obj$loop_count
    	RESULT=$({ ./mc stat --no-list sitea/bucket/obj$loop_count; } 2>&1)
    	if [[ ${RESULT} != *"Object does not exist"* ]]; then
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. docs/ru/docs/index.md

    * Создайте файл `main.py` со следующим содержимым:
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 25.8K bytes
    - Viewed (0)
Back to top