tool::http-status-detail
206 Partial Content
The server is returning partial content due to a Range header.
ステータスコード
206
名前
Partial Content
カテゴリ
2xx詳細説明
HTTP 206 Partial Contentは、クライアントのRangeヘッダーに応じてリソースの一部のみを返していることを示します。中断されたダウンロードの再開、動画ストリーミング、大容量ファイルのチャンク転送に不可欠なレスポンスコードです。
主な原因
- ▸クライアントがRangeヘッダーでファイルの一部を要求した場合
- ▸中断されたダウンロードを特定オフセットから再開する場合
- ▸動画プレーヤーが特定セグメントからストリーミングを要求する場合
- ▸マルチスレッドダウンローダーがファイルを分割して取得する場合
解決方法
- 1.206は正常なレスポンスのため、修正は不要です
- 2.サーバーはAccept-Ranges: bytesヘッダーをサポートする必要があります
- 3.Content-Rangeヘッダーで返される範囲を明確に示してください
- 4.ファイル全体が必要な場合はRangeヘッダーなしで再リクエストしてください
関連HTTPヘッダー
Content-RangeAccept-RangesContent-LengthETagレスポンス例
HTTP/1.1 206 Partial Content Content-Range: bytes 0-1023/10240 Content-Length: 1024 Content-Type: video/mp4 [binary data...]
関連ステータスコード
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