[14] [DFN[[[RFC 6265]]]] は、 [[Cookie]] を定義しています。これまで [[RFC]] としては [[RFC 2109]]、
[[RFC 2965]] と2回 [[Cookie]] の標準化が試みられてきましたが、いずれも現実を無視した仕様だったため、
[[利用者エージェント]]側にも[[鯖]]側にもほとんど相手にされていませんでした。
[[RFC 6265]] は [[Adam Barth]] ら[[Webブラウザー]]側の関係者を中心として、
[[NetscapeのCookie仕様]]を引き継ぎより現実的な仕様を規定するものとなっています。

[11] [[Cookie]] の仕様としては第4世代にあたります。 [[Web]] の仕様書としては [[HTML5]]
などと同世代にあたり、 [[RFC]] にしてはかなり近代的な仕様書となっています。

* 仕様書

[REFS[
- [13] [CITE@en[RFC 6265 - HTTP State Management Mechanism]]
( ([TIME[2011-04-28 08:55:55 +09:00]] 版))
<http://tools.ietf.org/html/rfc6265>
]REFS]

* 定義されているプロトコル要素

[12] 次の [[HTTPヘッダー]]が規定されています。

[FIG(short list)[
- [CODE(HTTP)@en[[[Set-Cookie:]]]]
- [CODE(HTTP)@en[[[Cookie:]]]]
]FIG]

* 歴史

[15] [CODE(HTTP)@en[[[HTTPOnly]]]] [[属性]]の標準化のために [[ietf-httponly]]
[[WG]] を組織する動きがありましたが、[[Cookie]] 全体の仕様化の機運が高まり、
[[IETF]] [[http-state]] [[WG]] が設立されました。

[1] [CITE[http-state Info Page]] ([TIME[2009-02-10 12:53:16 +09:00]] 版) <https://www.ietf.org/mailman/listinfo/http-state>

[2] [CITE[http-state Info Page]]
([TIME[2009-09-27 21:28:30 +09:00]] 版)
<https://www.ietf.org/mailman/listinfo/http-state>

[3] [CITE['''['''http-state''']''' '''['''ACTION NEEDED''']''' Update on Working Group formation]]
([TIME[2009-09-22 00:50:04 +09:00]] 版)
<http://www.ietf.org/mail-archive/web/http-state/current/msg00273.html>

[4] [CITE[Re: '''['''http-state''']''' wrt documenting current practice or/and specifying new beharvior]]
([TIME[2009-08-29 17:10:21 +09:00]] 版)
<http://www.ietf.org/mail-archive/web/http-state/current/msg00262.html>

[5] [CITE[IRC logs: freenode / #whatwg / 20090805]]
([TIME[2009-10-04 23:41:34 +09:00]] 版)
<http://krijnhoetmer.nl/irc-logs/whatwg/20090805#l-357>

[6] [CITE@en[abarth's http-state at master - GitHub]]
([TIME[2009-10-05 00:48:28 +09:00]] 版)
<http://github.com/abarth/http-state>

[7] [CITE['''['''http-state''']''' Initiating WG Last Call: draft-ietf-httpstate-cookie-08]]
([TIME[2010-05-12 11:30:21 +09:00]] 版)
<http://www.ietf.org/mail-archive/web/http-state/current/msg00787.html>

[8] [CITE@en[draft-ietf-httpstate-cookie-09 - HTTP State Management Mechanism]]
([TIME[2010-06-05 19:13:54 +09:00]] 版)
<http://tools.ietf.org/html/draft-ietf-httpstate-cookie>

[9] [CITE[Httpstate Status Pages]]
([TIME[2010-08-01 14:09:06 +09:00]] 版)
<https://tools.ietf.org/wg/httpstate/>

[10] [CITE[IRC logs: freenode / #whatwg / 20101109]]
( ([TIME[2010-11-18 23:22:34 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20101109#l-206>
