Several of our users have asked us to include data relative to their account in the HTTP headers of requests we send them, or even responses they get from our API. What is the general convention to add custom HTTP headers, in terms of naming, format... etc. Also, feel free to post any smart usage of these that you stumbled upon on the web; We're trying to implement this using what's best out there
で、なんかいい名前ないかなぁと思ってググってたら、こんなやりとりを見つけました。 stackoverflow / Custom HTTP headers : naming conventions On June 2012, the deprecation of recommendation to use the "X-" prefix has become official as RFC 6648. このやり取りの質問とベストアンサーだけ見て「なんだって!独自ヘッダに X- をつけるのは常識じゃないの?時代遅れなの!?」と色めき立ち、RFC本体を確認したり他にこれに関する情報がないか探したりしました。 こんな所でつまるのは私だけかもしれませんが、その時の記録。 結局、WebAPIの独自Headerを "X-" から始めるのはありかなしか 結論:あり そもそもdeprecatedになった経緯
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く