Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 194 for 500 (0.12 sec)

  1. docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md

        如果你引发任何异常,它将传递给带有`yield`的依赖,包括`HTTPException`,然后**再次**传递给异常处理程序。如果没有针对该异常的异常处理程序,那么它将被默认的内部`ServerErrorMiddleware`处理,返回500 HTTP状态码,告知客户端服务器发生了错误。
    
    ## 上下文管理器
    
    ### 什么是“上下文管理器”
    
    “上下文管理器”是您可以在`with`语句中使用的任何Python对象。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/exec/Crawler.java

                }
    
                final Map<String, String> infoMap = crawlingInfoHelper.getInfoMap(options.sessionId);
    
                final StringBuilder buf = new StringBuilder(500);
                for (final Map.Entry<String, String> entry : infoMap.entrySet()) {
                    if (buf.length() != 0) {
                        buf.append(',');
                    }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 24.1K bytes
    - Viewed (2)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

          Header(RESPONSE_STATUS, "204"),
          Header(RESPONSE_STATUS, "206"),
          Header(RESPONSE_STATUS, "304"),
          Header(RESPONSE_STATUS, "400"),
          Header(RESPONSE_STATUS, "404"),
          Header(RESPONSE_STATUS, "500"),
          Header("accept-charset", ""),
          Header("accept-encoding", "gzip, deflate"),
          Header("accept-language", ""),
          Header("accept-ranges", ""),
          Header("accept", ""),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 22.5K bytes
    - Viewed (1)
  4. fastapi/applications.py

                        valid, that would mean a violation of the contract with the client,
                        so it's an error from the API developer. So, FastAPI will raise an
                        error and return a 500 error code (Internal Server Error).
    
                    Read more about it in the
                    [FastAPI docs for Response Model](https://fastapi.tiangolo.com/tutorial/response-model/).
                    """
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/dependencies/dependencies-with-yield.md

    ## Abhängigkeiten mit `yield`, `HTTPException` und Hintergrundtasks
    
    !!! warning "Achtung"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:10:29 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  6. docs/ja/docs/tutorial/handling-errors.md

    **FastAPI** は`response_model`でPydanticモデルを使用していて、データにエラーがあった場合、ログにエラーが表示されるようにこれを使用しています。
    
    しかし、クライアントやユーザーはそれを見ることはありません。その代わりに、クライアントはHTTPステータスコード`500`の「Internal Server Error」を受け取ります。
    
    *レスポンス*やコードのどこか(クライアントの*リクエスト*ではなく)にPydanticの`ValidationError`がある場合、それは実際にはコードのバグなのでこのようにすべきです。
    
    また、あなたがそれを修正している間は、セキュリティの脆弱性が露呈する場合があるため、クライアントやユーザーがエラーに関する内部情報にアクセスできないようにしてください。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  7. docs/en/docs/deployment/concepts.md

    ### Small Errors Automatically Handled
    
    When building web APIs with FastAPI, if there's an error in our code, FastAPI will normally contain it to the single request that triggered the error. 🛡
    
    The client will get a **500 Internal Server Error** for that request, but the application will continue working for the next requests instead of just crashing completely.
    
    ### Bigger Errors - Crashes
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 18K bytes
    - Viewed (0)
  8. internal/s3select/message.go

    	var progressTickerC <-chan time.Time
    	if writer.getProgressFunc != nil {
    		progressTicker = time.NewTicker(1 * time.Minute)
    		progressTickerC = progressTicker.C
    	}
    	recordStagingTicker := time.NewTicker(500 * time.Millisecond)
    
    	// Exit conditions:
    	//
    	// 1. If a writer.write() returns false, select loop below exits and
    	// closes `doneCh` to indicate to caller to also exit.
    	//
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 30 15:26:43 GMT 2022
    - 15.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

                    return 200;
                }
            };
            indexingHelper.setMaxRetryCount(5);
            indexingHelper.setDefaultRowSize(100);
            indexingHelper.setRequestInterval(500);
            ComponentUtil.register(indexingHelper, "indexingHelper");
            ComponentUtil.register(new ThumbnailManager(), "thumbnailManager");
            final CrawlingConfigHelper crawlingConfigHelper = new CrawlingConfigHelper();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 23.3K bytes
    - Viewed (0)
  10. docs/de/docs/deployment/concepts.md

    Wenn beim Erstellen von Web-APIs mit FastAPI ein Fehler in unserem Code auftritt, wird FastAPI ihn normalerweise dem einzelnen Request zurückgeben, der den Fehler ausgelöst hat. 🛡
    
    Der Client erhält für diesen Request einen **500 Internal Server Error**, aber die Anwendung arbeitet bei den nächsten Requests weiter, anstatt einfach komplett abzustürzen.
    
    ### Größere Fehler – Abstürze
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:16:25 GMT 2024
    - 20.6K bytes
    - Viewed (0)
Back to top