Name the http method that sends the same response as the request. Select the one correct answer
-
DEBUG method
-
OPTIONS method
-
TRACE method
-
HEAD method
C
Correct answer
Explanation
The TRACE method echoes the received request back to the client so they can see what the intermediate servers received. It's used for debugging and diagnostic purposes - the final server sends back essentially the same request message it received. OPTIONS asks for available communication options, HEAD returns only headers, and DEBUG is not a standard HTTP method.