HTTP

HTTP 206 Partial Content vs 303 See Other

HTTP 206 (Partial Content) is a 2xx Success response, while 303 (See Other) is a 3xx Redirection response. 206 indicates that the server is delivering only part of the resource due to a Range header sent by the client. Used for resumable downloads and video streaming. In contrast, 303 means that the server is redirecting to a different resource using GET, typically after a POST operation (Post/Redirect/Get pattern).

説明

The server is delivering only part of the resource due to a Range header sent by the client. Used for resumable downloads and video streaming.

このコードが表示される場合

During video streaming, large file downloads, or when resuming interrupted downloads.

解決方法

No fix needed. This is normal behavior for range requests.

説明

The server is redirecting to a different resource using GET, typically after a POST operation (Post/Redirect/Get pattern).

このコードが表示される場合

After form submissions to prevent resubmission on browser refresh.

解決方法

Follow the Location header with a GET request. This is intentional — part of the PRG pattern.

主な違い

1.

206 is a 2xx Success response, while 303 is a 3xx Redirection response.

2.

HTTP 206: The server is delivering only part of the resource due to a Range header sent by the client. Used for resumable downloads and video streaming.

3.

HTTP 303: The server is redirecting to a different resource using GET, typically after a POST operation (Post/Redirect/Get pattern).

4.

You encounter 206 when during video streaming, large file downloads, or when resuming interrupted downloads.

5.

You encounter 303 when after form submissions to prevent resubmission on browser refresh.

どちらをいつ使うか

For 206 (Partial Content): No fix needed. This is normal behavior for range requests. For 303 (See Other): Follow the Location header with a GET request. This is intentional — part of the PRG pattern.

詳しく見る