Help us understand the problem. What is going on with this article?

Accept-Languageヘッダーの取りうる値について

自分のブログ記事要約

  • 値の例: ja,en-US;q=0.9,en;q=0.8
  • ja ,en , US = 言語タグ。IANAレジストリSubtag のどれか。複数のサブタグをハイフンでつなぐ。数値かアルファベットのみ。文字数は8文字以内とされる。小文字大文字は区別しない。サブタグはだいたい言語コードか国コードが入る
  • ;q=[0〜1までの少数3桁までの値] = 品質値。言語タグの後ろにつく。 ;q= の部分は固定値、数値はドットか0か1
  • 言語を指定しない場合は *

RFCなど参照している根拠はブログに全部まとめたのでそちらを

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away