Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 179 for 404 (0.03 seconds)

  1. docs/features/calls.md

    ## [Responses](https://square.github.io/okhttp/5.x/okhttp/okhttp3/-response/)
    
    The response answers the request with a code (like 200 for success or 404 for not found), headers, and its own optional body.
    
    ## Rewriting Requests
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/tutorial/path-operation-configuration.md

    你可以在你的「路徑操作裝飾器」中傳入多個參數來進行設定。
    
    /// warning | 警告
    
    請注意,這些參數是直接傳給「路徑操作裝飾器」,而不是傳給你的「路徑操作函式」。
    
    ///
    
    ## 回應狀態碼 { #response-status-code }
    
    你可以為「路徑操作」的回應設定 (HTTP) `status_code`。
    
    你可以直接傳入整數代碼,例如 `404`。
    
    如果不記得每個數字代碼代表什麼,你可以使用 `status` 中的速記常數:
    
    {* ../../docs_src/path_operation_configuration/tutorial001_py310.py hl[1,15] *}
    
    該狀態碼會用於回應,並被加入至 OpenAPI 結構描述中。
    
    /// note | 技術細節
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  3. src/main/webapp/WEB-INF/web.xml

      </error-page>
      <error-page>
        <error-code>403</error-code>
        <location>/WEB-INF/view/error/redirect.jsp?type=logOut</location>
      </error-page>
      <error-page>
        <error-code>404</error-code>
        <location>/WEB-INF/view/error/redirect.jsp?type=notFound</location>
      </error-page>
      <error-page>
        <error-code>408</error-code>
        <location>/WEB-INF/view/error/redirect.jsp?type=logOut</location>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 09:08:35 GMT 2026
    - 8.5K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/tutorial/response-status-code.md

        * 另一個例子是 `201`,代表「已建立」。常用於在資料庫中建立新紀錄之後。
        * 一個特殊情況是 `204`,代表「無內容」。當沒有內容要回傳給用戶端時使用,因此回應不得有本文。
    * **`300 - 399`** 表示「重新導向」。這些狀態碼的回應可能有或沒有本文,唯獨 `304`(「未修改」)必須沒有本文。
    * **`400 - 499`** 表示「用戶端錯誤」。這大概是你第二常用的一組。
        * 例如 `404`,代表「找不到」。
        * 對於一般性的用戶端錯誤,你可以使用 `400`。
    * `500 - 599` 表示伺服器錯誤。你幾乎不會直接使用它們。當你的應用程式或伺服器某處出錯時,會自動回傳其中一個狀態碼。
    
    /// tip | 提示
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

        }
    
        @Test
        public void test_setError_withMessage_noRequest() {
            // Test setError with message when no HTTP request is available
            try {
                WebApiUtil.setError(404, "Not Found");
            } catch (Exception e) {
                fail("setError should handle missing request gracefully: " + e.getMessage());
            }
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  6. docs/zh/docs/how-to/conditional-openapi.md

    ```console
    $ OPENAPI_URL= uvicorn main:app
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    然后如果你访问 `/openapi.json`、`/docs` 或 `/redoc`,就会得到一个 `404 Not Found` 错误,例如:
    
    ```JSON
    {
        "detail": "Not Found"
    }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

            br.addNotice("Too long boundary size so treats it as 404.");
            br.addItem("Advice");
            br.addElement("Against for CVE-2014-0050 (JVN14876762).");
            br.addElement("Boundary size is limited by Framework.");
            br.addElement("Too long boundary is treated as 404 because it's thought of as attack.");
            br.addElement("");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:48:41 GMT 2026
    - 18.9K bytes
    - Click Count (1)
  8. cmd/s3-zip-handlers.go

    			// whether you also have the s3:ListBucket
    			// permission.
    			// * If you have the s3:ListBucket permission
    			//   on the bucket, Amazon S3 will return an
    			//   HTTP status code 404 ("no such key")
    			//   error.
    			// * if you don’t have the s3:ListBucket
    			//   permission, Amazon S3 will return an HTTP
    			//   status code 403 ("access denied") error.`
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

            .Builder()
            .status("HTTP/1.1 404 Not Found")
            .build(),
        )
        newWebSocket()
        clientListener.assertFailure(
          404,
          null,
          ProtocolException::class.java,
          "Expected HTTP 101 response but was '404 Not Found'",
        )
      }
    
      @Test
      fun clientTimeoutClosesBody() {
        webServer.enqueue(
          MockResponse
            .Builder()
            .code(408)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/crawler/FessCrawlerThreadTest.java

            // Since the constants are private, we test their values indirectly
    
            // The constants should match standard HTTP status codes
            // HTTP_STATUS_NOT_FOUND = 404
            // HTTP_STATUS_OK = 200
    
            // This test verifies that the constants are being used in the code
            // The actual verification happens at compile time
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.3K bytes
    - Click Count (0)
Back to Top