* [VAR[*]]-Profile: 欄 (HTTP 要求 ― CC/PP)
[4]
2ca8d4 | [url=http://37b8fc.com]d661aa[/url] | [link=http://00b3c1.com]affc08[/link] | http://822ffa.com | 22484f | [http://db5eca.com d16f2b]
([[x25fbd3]] [btapinapa@runbox.com])
[[#comment]]
** 構文
[1]
;; をもとにした。
[PRE[
Profile = namespace "-Profile:" reference
*([SP] "," [SP] reference)
]PRE]
;; [CODE(ABNF)[[[SP]]]] を入れていいのか不明瞭だけど、
入っている例があるので良いことに。
[CODE(ABNF)[[[FWS]]]] が入るかは例が無いので不明。
(でも入らないとすると実装は面倒だと思われ。)
[PRE[
reference = <"> ( absoluteURI / profile-diff-name ) <">
profile-diff-name = profile-diff-number "-" profile-diff-digest
profile-diff-number = NON-ZERO-DIGIT *DIGIT
]PRE]
;; [SAMP(HTTP)[0]] が認められるのか不明。仕様書では
[CODE(ABNF)[#[[DIGIT]]]] になってたけど [CODE(ABNF)[*DIGIT]] の間違いだと思われ。
[PRE[
profile-diff-digest = DIGIT / ALPHA / "+" / "/"
;; MD5 message digest encoded by base64
]PRE]
;; [CODE(ABNF)[[[absoluteURI]]]] は CC/PP description のある URI
> An absoluteURI can unambiguously be distinguished
from a profile-diff-name by the presence of a colon(":")
in the Profile header field-value.
;; profile-diff-name は同じ要求中の対応する
[CODE(HTTP)[[VAR[*]]-[[Profile-Diff-*]]:]] 頭欄の名前
** 例
- [2] [SAMP(HTTP)[[VAR[34-]]Profile: "http://www.aaa.example/hw","http://www.bbb.example/sw"]]
- [3] [SAMP(HTTP)[[VAR[45-]]Profile: "http://www.aaa.example/hw","1-uKhJE/AEeeMzFSejsYshHg==","http://www.bbb.example/sw"]]
[[#comment]]
* メモ