Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for 4919 (0.05 seconds)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t11/ProjectInheritanceTest.java

    import static org.junit.jupiter.api.Assertions.assertNull;
    
    /**
     * Verifies scope of root project is preserved regardless of parent dependency management.
     *
     * @see <a href="https://issues.apache.org/jira/browse/MNG-2919">MNG-2919</a>
     */
    @Deprecated
    @SuppressWarnings("checkstyle:UnusedLocalVariable")
    class ProjectInheritanceTest extends AbstractProjectInheritanceTestCase {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  2. docs_src/server_sent_events/tutorial002_py310.py

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
    
    
    items = [
        Item(name="Plumbus", price=32.99),
        Item(name="Portal Gun", price=999.99),
        Item(name="Meeseeks Box", price=49.99),
    ]
    
    
    @app.get("/items/stream", response_class=EventSourceResponse)
    async def stream_items() -> AsyncIterable[ServerSentEvent]:
        yield ServerSentEvent(comment="stream of item updates")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 686 bytes
    - Click Count (0)
  3. docs_src/server_sent_events/tutorial004_py310.py

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
    
    
    items = [
        Item(name="Plumbus", price=32.99),
        Item(name="Portal Gun", price=999.99),
        Item(name="Meeseeks Box", price=49.99),
    ]
    
    
    @app.get("/items/stream", response_class=EventSourceResponse)
    async def stream_items(
        last_event_id: Annotated[int | None, Header()] = None,
    ) -> AsyncIterable[ServerSentEvent]:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 795 bytes
    - Click Count (0)
  4. internal/s3select/sql/jsondata/books.json

                "type": "Hardcover",
                "pages": 336
            },
            {
                "year": 1984,
                "publisher": "Granada",
                "type": "Hardcover",
                "pages": 419
            },
            {
                "year": 2018,
                "publisher": "Harper Voyager",
                "type": "Paperback",
                "pages": 432
            }
        ]
    }
    {
        "title": "Pigs Have Wings",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.9K bytes
    - Click Count (0)
  5. .teamcity/scripts/CheckBadMerge.java

     */
    
    import java.io.*;
    import java.nio.charset.*;
    import java.util.*;
    import java.util.concurrent.*;
    import java.util.stream.*;
    
    /**
     * See https://github.com/gradle/gradle-private/issues/3919
     *
     * When merging `releaseX` branch into `master`, we should only use the release note from the `master` branch,
     * but sometimes changes on release notes.md was brought to master and merged unnoticed,
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 30 16:25:09 GMT 2026
    - 9K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt

        }
      }
    
      @Test
      @Throws(Exception::class)
      fun timePrecisionIsTruncatedToSeconds() {
        val cacheControl =
          CacheControl
            .Builder()
            .maxAge(4999, TimeUnit.MILLISECONDS)
            .build()
        assertThat(cacheControl.maxAgeSeconds).isEqualTo(4)
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  7. docs/tr/docs/tutorial/handling-errors.md

    * Client’ın bu işlem için yeterli yetkisi yok.
    * Client’ın bu kaynağa erişimi yok.
    * Client’ın erişmeye çalıştığı öğe mevcut değil.
    * vb.
    
    Bu durumlarda genellikle **400** aralığında (**400** ile **499** arası) bir **HTTP status code** döndürürsünüz.
    
    Bu, 200 HTTP status code’larına (200 ile 299 arası) benzer. Bu "200" status code’ları, request’in bir şekilde "başarılı" olduğunu ifade eder.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 9.7K bytes
    - Click Count (0)
  8. docs/es/docs/tutorial/handling-errors.md

    * El cliente no tiene acceso a ese recurso.
    * El ítem al que el cliente intentaba acceder no existe.
    * etc.
    
    En estos casos, normalmente devolverías un **código de estado HTTP** en el rango de **400** (de 400 a 499).
    
    Esto es similar a los códigos de estado HTTP 200 (de 200 a 299). Esos códigos de estado "200" significan que de alguna manera hubo un "éxito" en el request.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/handling-errors.md

    * The client doesn't have access to that resource.
    * The item the client was trying to access doesn't exist.
    * etc.
    
    In these cases, you would normally return an **HTTP status code** in the range of **400** (from 400 to 499).
    
    This is similar to the 200 HTTP status codes (from 200 to 299). Those "200" status codes mean that somehow there was a "success" in the request.
    
    The status codes in the 400 range mean that there was an error from the client.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  10. docs/zh-hant/docs/tutorial/handling-errors.md

    # 錯誤處理 { #handling-errors }
    
    在許多情況下,你需要通知使用你 API 的用戶端發生錯誤。
    
    這個用戶端可能是帶有前端的瀏覽器、他人的程式碼、IoT 裝置等。
    
    你可能需要告訴用戶端:
    
    * 用戶端沒有足夠權限執行該操作。
    * 用戶端沒有權限存取該資源。
    * 用戶端嘗試存取的項目不存在。
    * 等等。
    
    在這些情況下,通常會回傳範圍為 400(400 到 499)的 HTTP 狀態碼。
    
    這類似於 200 範圍的 HTTP 狀態碼(200 到 299)。那些「200」狀態碼表示請求在某種程度上是「成功」的。
    
    400 範圍的狀態碼表示用戶端錯誤。
    
    還記得那些「404 Not Found」錯誤(和梗)嗎?
    
    ## 使用 `HTTPException` { #use-httpexception }
    
    要向用戶端回傳帶有錯誤的 HTTP 回應,使用 `HTTPException`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 8.3K bytes
    - Click Count (0)
Back to Top