QuestenaUn entraînement qui indique quoi revoir ensuite
Question 26

In a content negotiation field, what does the parameter q=0 mean, and what weight applies when no q parameter is given?

  1. q=0 means lowest preference; the default weight is 0.5
  2. q=0 means not acceptable; the default weight is 1Bonne réponse
  3. q=0 means no preference expressed; the default weight is 0
  4. q=0 means lowest preference; the default weight is the position in the list

Explication

A quality value of 0 is a rejection, not merely a low ranking; 0.001 is the least preferred value that still expresses acceptance. Omitting q entirely means weight 1, which is why an unqualified entry outranks anything carrying an explicit fraction.

Continuer avec ce test

Commencer l’entraînement
Question 26: In a content negotiation field, what does the parameter q=0… · HTTP Semantics · Questena