QuestenaUn entraînement qui indique quoi revoir ensuite
Question 28

A representation is 10000 bytes long. Which range specifier requests exactly its last 500 bytes?

  1. bytes=9500-10000
  2. bytes=500-
  3. bytes=9501-10000
  4. bytes=-500Bonne réponse

Explication

A leading hyphen forms a suffix-range meaning the last N units, so bytes=-500 covers offsets 9500 through 9999. Byte offsets start at zero and both positions are inclusive, so the equivalent int-range is bytes=9500-, and any specifier ending at 10000 would name an offset past the end.

Continuer avec ce test

Commencer l’entraînement
Question 28: A representation is 10000 bytes long. Which range specifier… · HTTP Semantics · Questena