Exam 1z0-900 All QuestionsBrowse all questions from this exam
Question 55

Given:

What will be the response to a HEAD request?

    Correct Answer: B

    For a HEAD request, if a corresponding GET method is defined in the resource class, it will usually be called to generate the response headers, but the response body will not be included. Here, the findAll() method will be called, but no employees will be returned in the response body.

Discussion
khaoulaazdOption: B

correctanswer is B

devmsalehOption: B

B is the correct answer

orjavaOption: B

Answer B. HEAD by default invokes the implemented GET method (if present) and ignores the response entity (if set). This method can be used for obtaining metadata about the entity implied by the request without transferring the entity-body itself.