Questenaتدريب يوضح لك ما ينبغي مراجعته لاحقًا
السؤال 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=-500الإجابة الصحيحة

الشرح

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.

تابع هذا الاختبار

بدء التدريب
السؤال 28: A representation is 10000 bytes long. Which range specifier… · HTTP Semantics · Questena