-
Notifications
You must be signed in to change notification settings - Fork 4
/
248.txt
90 lines (73 loc) · 3 KB
/
248.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[12] [DFN[[[HTCPCP]]]] ([DFN[[[Hyper Text Coffee Pot Control Protocol]]]])
は、[[インターネット]]を通じて[[珈琲ポット]]を制御するための[[プロトコル]]です。
1998年の[[4月1日]]に [DFN[[[RFC 2324]]]] として出版されました。
* 仕様書
[REFS[
- [3] [CITE@en[RFC 2324 - Hyper Text Coffee Pot Control Protocol (HTCPCP/1.0)]] ([TIME[2014-10-06 15:21:16 +09:00]] 版) <http://tools.ietf.org/html/rfc2324>
- [4] [CITE[RFC Errata Report]] ([TIME[2014-11-14 21:07:55 +09:00]] 版) <http://www.rfc-editor.org/errata_search.php?rfc=2324>
- [2] [CITE@en[RFC 7168 - The Hyper Text Coffee Pot Control Protocol for Tea Efflux Appliances (HTCPCP-TEA)]]
( ([TIME[2014-04-02 07:55:01 +09:00]] 版))
<http://tools.ietf.org/html/rfc7168>
]REFS]
* プロトコル
[5] [[HTCPCP]] は [[HTTP]] をもとに、[[要求メソッド]]などを追加した[[プロトコル]]となっています。
;; [6] 独立した[[プロトコル]]ではなく、 [[HTTP]] およびその追加機能の集合体のようです。
** 要求メソッド
[7] [[HTCPCP]] は次の[[要求メソッド]]を使います。
[FIG(short list)[
- [CODE(HTTP)@en[[[BREW]]]]
- [CODE(HTTP)@en[[[POST]]]]
- [CODE(HTTP)@en[[[GET]]]]
- [CODE(HTTP)@en[[[PROPFIND]]]]
- [CODE(HTTP)@en[[[WHEN]]]]
]FIG]
** 状態符号
[10] [[HTCPCP]] は次の[[状態符号]]を使います。
[FIG(short list)[
- [CODE(HTTP)[[[406]]]]
- [CODE(HTTP)[[[418]]]]
]FIG]
** ヘッダー
[9] [[HTCPCP]] は次の[[ヘッダー]]を使います。
[FIG(short list)[
- [CODE(MIME)@en[[[Safe:]]]]
- [CODE(MIME)@en[[[Accept-Additions:]]]]
]FIG]
** MIME 型
[8] [[HTCPCP]] は次の [[MIME型]]を [[payload body]] に使います。
[FIG(short list)[
- [CODE(MIME)@en[[[message/coffeepot]]]]
- [CODE(MIME)@en[[[application/coffee-pot-command]]]]
]FIG]
** URL scheme
[11] [[HTCPCP]] は次の [[URL scheme]] を使います。
[FIG(short list)[
- [CODE(MIME)@en[[[koffie:]]]]
- [CODE(MIME)@en[[[q%C3%A6hv%C3%A6:]]]]
- [CODE(MIME)@en[[[%D9%82%D9%87%D9%88%D8%A9:]]]]
- [CODE(MIME)@en[[[akeita:]]]]
- [CODE(MIME)@en[[[koffee:]]]]
- [CODE(MIME)@en[[[kahva:]]]]
- [CODE(MIME)@en[[[kafe:]]]]
- [CODE(MIME)@en[[[caf%C3%E8:]]]]
- [CODE(MIME)@en[[[caf%C3%E9:]]]]
- [CODE(MIME)@en[[[%E5%92%96%E5%95%A1:]]]]
- [CODE(MIME)@en[[[kava:]]]]
- [CODE(MIME)@en[[[k%C3%A1va:]]]]
- [CODE(MIME)@en[[[kaffe:]]]]
- [CODE(MIME)@en[[[coffee:]]]]
- [CODE(MIME)@en[[[kafo:]]]]
- [CODE(MIME)@en[[[kohv:]]]]
- [CODE(MIME)@en[[[kahvi:]]]]
- [CODE(MIME)@en[[[%4Baffee:]]]]
- [CODE(MIME)@en[[[%CE%BA%CE%B1%CF%86%CE%AD:]]]]
- [CODE(MIME)@en[[[%E0%A4%95%E0%A5%8C%E0%A4%AB%E0%A5%80:]]]]
- [CODE(MIME)@en[[[%E3%82%B3%E3%83%BC%E3%83%92%E3%83%BC:]]]]
- [CODE(MIME)@en[[[%EC%BB%A4%ED%94%BC:]]]]
- [CODE(MIME)@en[[[%D0%BA%D0%BE%D1%84%D0%B5:]]]]
- [CODE(MIME)@en[[[%E0%B8%81%E0%B8%B2%E0%B9%81%E0%B8%9F:]]]]
]FIG]
* 実装
[REFS[
- [1] [CITE[Bug 46647 - HTCPCP not supported (RFC2324)]] <https://bugzilla.mozilla.org/show_bug.cgi?id=46647>
]REFS]