/
330.txt
42 lines (27 loc) · 1.64 KB
/
330.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
* 仕様書から
** RFC 2068・2616 (HTTP/1.1) 3.12 Range Units
> HTTP/1.1 allows a client to request that only part (a range of) the
response entity be included within the response. HTTP/1.1 uses range
units in the Range (section [DEL[14.36]] [INS[14.35]]) and Content-Range (section [DEL[14.17]] [INS[14.16]])
header fields. An entity [DEL[may]] [INS[can]] be broken down into subranges according
to various structural units.
[[HTTP/1.1]] では、[[応答]][[実体]]の部分 (範囲)
のみを応答中に含めるように[[クライアント]]が[[要求]]することを認めます。
HTTP/1.1 は、範囲単位を [CODE(HTTP)[[[Range]]]] 頭欄と
[CODE(HTTP)[[[Content-Range]]]] 頭欄で使います。
実体は種々の構造単位に基づいて小範囲に分割できます。
>
- range-unit = bytes-unit | other-range-unit
- bytes-unit = "bytes"
- other-range-unit = token
> The only range unit defined by HTTP/1.1 is "bytes". HTTP/1.1
implementations [DEL[may]] [INS[MAY]] ignore ranges specified using other units.
HTTP/1.1 で定義する範囲単位は [CODE(HTTP)[[[bytes]]]] だけです。
HTTP/1.1 実装は他の単位を使って指定されている範囲を無視しても'''構いません'''。
> HTTP/1.1 has been designed to allow implementations of applications
that do not depend on knowledge of ranges.
HTTP/1.1 は範囲の知識に依存しない応用の実装を認めるように設計されています。
** RFC の部分のライセンス
[[RFCのライセンス]]
* メモ
- [1] HTTP では他の単位が使われてるのって見たことないですね。