tool::http-status-detail
205 Reset Content
The server processed the request; the client should reset the document view.
ステータスコード
205
名前
Reset Content
カテゴリ
2xx詳細説明
HTTP 205 Reset Contentは、サーバーがリクエストを正常に処理し、クライアントがドキュメントビューをリセットすべきであることを示します。204 No Contentとは異なり、クライアントのUIをリセットするよう指示します。フォーム送信後に入力フィールドをクリアする場合などに使用されます。
主な原因
- ▸フォーム送信成功後に入力フィールドの初期化が必要な場合
- ▸テキストエディタ保存後にコンテンツエリアをクリアする必要がある場合
- ▸ユーザーインターフェースを初期状態にリセットする必要がある場合
解決方法
- 1.205は正常なレスポンスのため、修正は不要です
- 2.クライアントは現在のフォームや入力フィールドをリセットしてください
- 3.レスポンスボディが必要なら200 OK、UIリセットが不要なら204を使用してください
レスポンス例
HTTP/1.1 205 Reset Content
関連ステータスコード
200OKThe request has succeeded.→201CreatedThe request has been fulfilled and a new resource has been created.→202AcceptedThe request has been accepted but not yet acted upon.→203Non-Authoritative InformationThe response is from a transforming proxy, not the origin server.→204No ContentThe server successfully processed the request but returns no content.→
ad · 300×250
// related tools