QuestenaПрактика, после которой понятно, что повторить
Вопрос 7

For which methods does RFC 9110 define caching semantics?

  1. GET, HEAD, POST, and PUT
  2. GET and HEAD only
  3. GET, HEAD, and POSTПравильный ответ
  4. all safe methods, that is GET, HEAD, OPTIONS, and TRACE

Объяснение

Caching semantics are defined for GET, HEAD, and POST, even though the spec notes that most cache implementations support only GET and HEAD. OPTIONS and TRACE responses are explicitly not cacheable, so safety alone does not imply cacheability.

Продолжить работу с тестом

Начать тренировку
Вопрос 7: For which methods does RFC 9110 define caching semantics? · HTTP Semantics · Questena