/
729.txt
68 lines (43 loc) · 2.44 KB
/
729.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
* 仕様書から
** RFC 2068 (HTTP/1.1) 19.7.1.1 The Keep-Alive Header
> When the Keep-Alive connection-token has been transmitted with a
request or a response, a Keep-Alive header field MAY also be
included. The Keep-Alive header field takes the following form:
[CODE(HTTP)[Keep-Alive]] [CODE(ABNF)[connection-token]]
が要求または応答で転送されるとき、 [CODE(HTTP)[Keep-Alive]]
頭欄をも含めて'''構いません'''。 [CODE(HTTP)[Keep-Alive]]
頭欄は、次の書式を取ります。
>
- Keep-Alive-header = "Keep-Alive" ":" 0# keepalive-param
- keepalive-param = param-name "=" value
> The Keep-Alive header itself is optional, and is used only if a
parameter is being sent. HTTP/1.1 does not define any parameters.
[CODE(HTTP)[Keep-Alive]] 頭自体は省略可能で、引数が送られるときのみ使用します。
HTTP/1.1 は引数を定義しません。
> If the Keep-Alive header is sent, the corresponding connection token
MUST be transmitted. The Keep-Alive header MUST be ignored if
received without the connection token.
[CODE(HTTP)[Keep-Alive]] 頭が送られる場合、対応する接続字句を転送しなければ'''なりません'''。
[CODE(HTTP)[Keep-Alive]] 頭は、接続字句なしで受信した場合には無視しなければ'''なりません'''。
** RFC の部分の License
[[RFCのライセンス]]
* 例
- [1] [SAMP(HTTP)[Keep-Alive: timeout=25, max=85]]
- [2] [CODE(HTTP)[Keep-Alive: 300]]
[4]
6
([[名無しさん]] [WEAK[2004-05-23 23:38:15 +00:00]])
[[#comment]]
* メモ
- [3] >>2 は [[Mozilla]], >>3 は [[Apache]]
[5]
[CITE[kinnekoの日記 - IE は KeepAlive をうまく処理できない?]] ([CODE[2007-02-11 10:02:17 +09:00]] 版) <http://d.hatena.ne.jp/kinneko/20051214/p4>
([[名無しさん]])
[6]
[CITE@ja[世界初オタク系SNS『オタバ』公式ブログ: 【Internet Explorer系ブラウザについて】]] ([CODE[2006-10-29 16:47:05 +09:00]] 版) <http://otaba.seesaa.net/article/10637205.html>
([[名無しさん]])
[7]
[CITE[最速インターフェース研究会 :: 最近IE6でWikipedia日本語版の表示が異常に遅いのはKeepAliveのせい]] ([TIME[2007-02-11 10:05:32 +09:00]] 版) <http://la.ma.la/blog/diary_200702101610.htm>
[8] [CITE[Apache HTTP Server Project]]
( ([TIME[2011-05-28 00:58:55 +09:00]] 版))
<http://httpd.apache.org/docs/1.3/misc/known_client_problems.html#broken-keepalive>