From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/ja/web/http/status/206/index.html | 86 +++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 files/ja/web/http/status/206/index.html (limited to 'files/ja/web/http/status/206') diff --git a/files/ja/web/http/status/206/index.html b/files/ja/web/http/status/206/index.html new file mode 100644 index 0000000000..c2560cc2bc --- /dev/null +++ b/files/ja/web/http/status/206/index.html @@ -0,0 +1,86 @@ +--- +title: 206 Partial Content +slug: Web/HTTP/Status/206 +tags: + - HTTP + - HTTP ステータスコード + - Range Requests + - Success +translation_of: Web/HTTP/Status/206 +--- +
{{HTTPSidebar}}
+ +

HTTP 206 Partial Content は成功ステータスレスポンスコードで、そのリクエストが成功したこと、そしてリクエストの {{HTTPHeader("Range")}} ヘッダーに記述された通り、要求された範囲のデータが本文に含まれていることを示します。

+ +

もし範囲が1つしかないのであれば、レスポンス全体の {{HTTPHeader("Content-Type")}} が文書のタイプに設定され、 {{HTTPHeader("Content-Range")}} が提供されます。

+ +

複数の範囲が返される場合は、 {{HTTPHeader("Content-Type")}} が multipart/byteranges に設定され、それぞれの断片が1つの範囲を表し、{{HTTPHeader("Content-Range")}} および {{HTTPHeader("Content-Type")}} がそれを説明します。

+ +

ステータス

+ +
206 Partial Content
+ +

+ +

1つの範囲を含むレスポンスの例:

+ +
HTTP/1.1 206 Partial Content
+Date: Wed, 15 Nov 2015 06:25:24 GMT
+Last-Modified: Wed, 15 Nov 2015 04:58:08 GMT
+Content-Range: bytes 21010-47021/47022
+Content-Length: 26012
+Content-Type: image/gif
+
+... 26012 bytes of partial image data ...
+ +

複数の範囲を含むレスポンスの例:

+ +
HTTP/1.1 206 Partial Content
+Date: Wed, 15 Nov 2015 06:25:24 GMT
+Last-Modified: Wed, 15 Nov 2015 04:58:08 GMT
+Content-Length: 1741
+Content-Type: multipart/byteranges; boundary=String_separator
+
+--String_separator
+Content-Type: application/pdf
+Content-Range: bytes 234-639/8000
+
+...the first range...
+--String_separator
+Content-Type: application/pdf
+Content-Range: bytes 4590-7999/8000
+
+...the second range
+--String_separator--
+ +

仕様書

+ + + + + + + + + + + + + + +
仕様書題名
{{RFC("7233", "206 Partial Content" , "4.1")}}Hypertext Transfer Protocol (HTTP/1.1): Range Requests
+ +

ブラウザーの互換性

+ + + +

{{Compat("http.status.206")}}

+ +

関連情報

+ + -- cgit v1.2.3-54-g00ecf