Exam4Training

The responses to some HTTP requests can be cached depending on the HTTP verb used in the request. According to the HTTP specification, for what HTTP verbs is this safe to do?

The responses to some HTTP requests can be cached depending on the HTTP verb used in the request. According to the HTTP specification, for what HTTP verbs is this safe to do?
A . PUT, POST, DELETE
B . GET, HEAD, POST
C . GET, PUT, OPTIONS
D . GET, OPTIONS, HEAD

Answer: D

Explanation:

Correct Answer. GET, OPTIONS, HEAD

http://restcookbook.com/HTTP%20Methods/idempotency/

Exit mobile version