QuestenaPractice that shows what to review next
Question 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 POSTCorrect answer
  4. all safe methods, that is GET, HEAD, OPTIONS, and TRACE

Explanation

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.

Continue with this test

Start practice
Question 7: For which methods does RFC 9110 define caching semantics? · HTTP Semantics · Questena